From: vimacs Date: Sun, 1 Nov 2009 14:47:53 +0000 (+0100) Subject: Cleaned up the init script a bit X-Git-Tag: Release-2010-05/1~162 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75cbe111428e1e0da7ad152e1cbfe2291ef5bf0a;p=pandora-libraries.git Cleaned up the init script a bit modified: pndnotifyd --- diff --git a/testdata/sh/pndnotifyd b/testdata/sh/pndnotifyd index f6ddf61..74c87f9 100755 --- a/testdata/sh/pndnotifyd +++ b/testdata/sh/pndnotifyd @@ -2,21 +2,15 @@ # ### BEGIN INIT INFO # Provides: pndnotifyd -# Required-Start: #adjust -# Required-Stop: #adjust -# Default-Start: 2 3 4 5 -# Default-Stop: 0 1 6 +# Required-Start: $local_fs +# Required-Stop: $local_fs +# Default-Start: 1 2 3 4 5 +# Default-Stop: 0 6 +# Short-Description: PND discovery deamon ### END INIT INFO PID=`pidof -o %PPID -x pndnotifyd` -# for testing -#LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/user/libpnd/pandora-libraries #remove -#export LD_LIBRARY_PATH #remove -#PNDNOTIFY='/home/user/libpnd/pandora-libraries/bin/pndnotifyd' #adjust - -PNDNOTIFY='/usr/bin/pndnotifyd' - case "$1" in start) # Start daemon.