]> git.pld-linux.org Git - packages/dibbler.git/commitdiff
- cleanup
authorsardzent <sardzent@pld-linux.org>
Sun, 23 Jan 2005 14:51:03 +0000 (14:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dibbler.init -> 1.3

dibbler.init

index ea4c16c5ef9642acace04cda6c76a45cee4483d1..435ce88a32fcb0b3b5aa5cbe4cbc7d77f0a38b43 100644 (file)
@@ -12,9 +12,6 @@
 # Get network config
 . /etc/sysconfig/network
 
-# Get service config
-#[ -f /var/lib/dibbler/server.conf ] && . /var/lib/dibbler/server.conf
-
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
        if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
@@ -33,7 +30,7 @@ case "$1" in
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/dibbler ]; then
                msg_starting dibbler
-               dibbler-server start
+               daemon /usr/sbin/dibbler-server start
                RETVAL=$?
                [ $RETVAL -eq 0 ] && 
                touch /var/lock/subsys/dibbler
@@ -42,10 +39,10 @@ case "$1" in
        fi
        ;;
   stop)
-       # Stop daemons.
+       # Stop daemon.
        if [ -f /var/lock/subsys/dibbler ]; then
                msg_stopping dibbler
-               dibbler-server stop
+               killproc dibbler-server
                RET=$?
                if [ $RET -eq 0 ]; then
                        rm -f /var/lock/subsys/dibbler /var/run/dibbler.pid >/dev/null 2>&1
This page took 0.057827 seconds and 4 git commands to generate.