]> git.pld-linux.org Git - packages/cvsd.git/commitdiff
- remove remnants from template.init
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 8 Dec 2005 00:41:26 +0000 (00:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cvsd.init -> 1.2

cvsd.init

index 7c5612406e1e972c03f21ddf29f967a2e1d2ca40..71078fa77c9436273324e787fc3fa0ab12019b6b 100755 (executable)
--- a/cvsd.init
+++ b/cvsd.init
@@ -17,7 +17,6 @@
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
        if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
-               # nls "ERROR: Networking is down. %s can't be run." <service>
                msg_network_down cvsd
                exit 1
        fi
@@ -30,25 +29,21 @@ case "$1" in
   start)
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/cvsd ]; then
-               # show "Starting %s service" cvsd
                msg_starting cvsd
                daemon cvsd -f /etc/cvsd/cvsd.conf
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/cvsd
        else
-               # show "%s service is already running." cvsd
                msg_already_running cvsd
        fi
        ;;
   stop)
        if [ -f /var/lock/subsys/cvsd ]; then
                # Stop daemons.
-               # show "Stopping %s service" cvsd
                msg_stopping cvsd
                killproc cvsd
                rm -f /var/lock/subsys/cvsd
        else
-               # show "%s service is not running." cvsd
                msg_not_running cvsd
        fi
        ;;
@@ -62,7 +57,6 @@ case "$1" in
        exit $?
        ;;
   *)
-       # show "Usage: %s {start|stop|restart|force-reload|status}"
        msg_usage "$0 {start|stop|restart|force-reload|status}"
        exit 3
 esac
This page took 0.096945 seconds and 4 git commands to generate.