From 75cbe111428e1e0da7ad152e1cbfe2291ef5bf0a Mon Sep 17 00:00:00 2001 From: vimacs Date: Sun, 1 Nov 2009 15:47:53 +0100 Subject: [PATCH] Cleaned up the init script a bit modified: pndnotifyd --- testdata/sh/pndnotifyd | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) 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. -- 2.39.5