Author: ankry                        Date: Thu Apr  6 06:59:45 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- reload should not do the same as restart

---- Files affected:
SOURCES:
   hdapsd.init (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/hdapsd.init
diff -u SOURCES/hdapsd.init:1.3 SOURCES/hdapsd.init:1.4
--- SOURCES/hdapsd.init:1.3     Thu Apr  6 08:55:49 2006
+++ SOURCES/hdapsd.init Thu Apr  6 08:59:40 2006
@@ -51,15 +51,7 @@
                msg_not_running hdapsd
        fi
        ;;
-  reload|force-reload)
-       if [ -f /var/lock/subsys/hdapsd ]; then
-               $0 restart
-       else
-               msg_not_running hdapsd >&2
-               exit 7
-       fi
-       ;;
-  restart)
+  restart|force-reload)
        $0 stop
        $0 start
        exit $?
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/hdapsd.init?r1=1.3&r2=1.4&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to