From eefbaf93fee84bc9f37e07fe7d251d4006ad9df2 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 5 Dec 2002 09:22:47 +0000 Subject: Fixed init.d script: s,devnull,dev/null, --- debian/changelog | 6 ++++++ debian/echolot.init | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 4ccc665..380179a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +echolot (2.0.5-3notyet) unstable; urgency=low + + * Fixed init.d script: s,devnull,dev/null, + + -- Peter Palfrader Thu, 5 Dec 2002 10:21:29 +0100 + echolot (2.0.5-2) unstable; urgency=low * Add sendpings command to init script. diff --git a/debian/echolot.init b/debian/echolot.init index 5276149..86bd6f8 100755 --- a/debian/echolot.init +++ b/debian/echolot.init @@ -90,7 +90,7 @@ case $1 in start) if [ -f $PIDFILE ] ; then - PID=`cat $PIDFILE 2>/devnull` || true + PID=`cat $PIDFILE 2>/dev/null` || true if kill -0 $PID 2>/dev/null then echo "$DESC already running." @@ -117,7 +117,7 @@ start) stop) echo -n "Stopping $DESC: " - PID=`cat $PIDFILE 2>/devnull` || true + PID=`cat $PIDFILE 2>/dev/null` || true start-stop-daemon \ --stop \ --quiet \ @@ -129,7 +129,7 @@ stop) ;; reload|force-reload|restart) - PID=`cat $PIDFILE 2>/devnull` || true + PID=`cat $PIDFILE 2>/dev/null` || true $0 stop wait_for_deaddaemon $PID $0 start -- cgit v1.2.3