From 71df94b03403aec0681f7d5566862bebc3d3299b Mon Sep 17 00:00:00 2001 From: chatty Date: Mon, 15 Nov 1999 13:16:37 +0000 Subject: Changed name of lock file for the sake of killall at shutdown --- src/ivyd.init | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/ivyd.init b/src/ivyd.init index 5acb286..d6e3e8b 100755 --- a/src/ivyd.init +++ b/src/ivyd.init @@ -2,7 +2,7 @@ # # irbox: Starts the in.ivyd super-daemon for the ivyd Ivy relay # -# Version: @(#) /etc/rc.d/init.d/irbox.init 1.0 +# Version: @(#) /etc/rc.d/init.d/irbox.init 1.1 # # chkconfig: - 97 03 # description: This is a daemon that works as a port server for ivyd, \ @@ -19,12 +19,12 @@ case "$1" in echo -n "Ivy daemon port server... " daemon in.ivyd -boot echo - touch /var/lock/subsys/in.ivyd + touch /var/lock/subsys/ivyd ;; stop) - echo -n "Shutting Ivy dameon port server " + echo -n "Shutting down Ivy daemon port server " killproc in.ivyd - rm -f /var/lock/subsys/in.ivyd + rm -f /var/lock/subsys/ivyd echo ;; status) @@ -35,7 +35,7 @@ case "$1" in $0 start ;; *) - echo "*** Usage: in.ivyd {start|stop|status|restart}" + echo "*** Usage: ivyd {start|stop|status|restart}" exit 1 esac -- cgit v1.1