- updated
authorankry <ankry@pld-linux.org>
Fri, 2 May 2003 23:38:07 +0000 (23:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    davfs.init -> 1.2

davfs.init

index 43b6b00..2f9f5fd 100644 (file)
@@ -20,8 +20,8 @@
 
 # Check that networking is up.
 if is_no "${NETWORKING}"; then
-        msg_network_down davfsd
-        exit 1
+       msg_network_down davfsd
+       exit 1
 fi
 
 
@@ -36,10 +36,11 @@ case "$1" in
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/davfsd
        else
                msg_already_running davfsd
+               exit 1
        fi
        ;;
   stop)
-        if [ -f /var/lock/subsys/davfsd ]; then
+       if [ -f /var/lock/subsys/davfsd ]; then
                msg_stopping davfsd
                killproc davfsd
                rm -f /var/run/davfsd.pid /var/lock/subsys/davfsd >/dev/null 2>&1
@@ -48,7 +49,7 @@ case "$1" in
                exit 1
        fi
        ;;
-  restart)
+  restart|reload)
        $0 stop
        $0 start
        ;;
@@ -61,18 +62,8 @@ case "$1" in
        killproc davfsd -HUP
        ;;
   *)
-       msg_usage "$0 {start|stop|init|status|restart|reload}"
+       msg_usage "$0 {start|stop|init|restart|reload|status}"
        exit 1
 esac
 
 exit $RETVAL
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
-%changelog
-* %{date} PLD Team <feedback@pld.org.pl>
-All persons listed below can be reached at <cvs_login>@pld.org.pl
-
-$Log$
This page took 0.029014 seconds and 4 git commands to generate.