[Python-apps-commits] r3897 - in packages/sabnzbdplus/trunk/debian (sabnzbdplus.init)

jcfp-guest at users.alioth.debian.org jcfp-guest at users.alioth.debian.org
Mon Oct 5 11:32:12 UTC 2009


    Date: Monday, October 5, 2009 @ 11:32:12
  Author: jcfp-guest
Revision: 3897

Add blinking neon sign in .init

Modified:
  packages/sabnzbdplus/trunk/debian/sabnzbdplus.init

Modified: packages/sabnzbdplus/trunk/debian/sabnzbdplus.init
===================================================================
--- packages/sabnzbdplus/trunk/debian/sabnzbdplus.init	2009-10-04 22:26:37 UTC (rev 3896)
+++ packages/sabnzbdplus/trunk/debian/sabnzbdplus.init	2009-10-05 11:32:12 UTC (rev 3897)
@@ -3,6 +3,12 @@
 # Copyright (C) 2008-2009 by JCF Ploemen <linux at jp.pp.ru>
 # released under GPL, version 2 or later
 
+################################################
+#                                              #
+#  TO CONFIGURE EDIT /etc/default/sabnzbdplus  #
+#                                              #
+################################################
+
 ### BEGIN INIT INFO
 # Provides:          sabnzbdplus
 # Required-Start:    $local_fs $network $remote_fs
@@ -51,7 +57,7 @@
 		exit 0; }
 
 	[ -n "$CONFIG" ] && OPTIONS="$OPTIONS --config-file $CONFIG"
-	[ -n "$HOST" -a -n "$PORT" ] && OPTIONS="$OPTIONS --server $HOST:$PORT"
+	[ -n "$HOST" ] && [ -n "$PORT" ] && OPTIONS="$OPTIONS --server $HOST:$PORT"
 	[ -n "$EXTRAOPTS" ] && OPTIONS="$OPTIONS $EXTRAOPTS"
 }
 




More information about the Python-apps-commits mailing list