Author: glen                         Date: Thu May 15 13:59:09 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- cosmetics

---- Files affected:
SOURCES:
   ntpwatchd.init (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/ntpwatchd.init
diff -u SOURCES/ntpwatchd.init:1.1 SOURCES/ntpwatchd.init:1.2
--- SOURCES/ntpwatchd.init:1.1  Thu May 15 15:17:33 2008
+++ SOURCES/ntpwatchd.init      Thu May 15 15:59:04 2008
@@ -7,8 +7,7 @@
 . /etc/rc.d/init.d/functions
 . /etc/sysconfig/ntpwatchd
 
-
-start () {
+start() {
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/ntpwatchd ]; then
                msg_starting "ntpwatchd"
@@ -20,7 +19,7 @@
        fi
 }
 
-stop () {
+stop() {
        if [ -f /var/lock/subsys/ntpwatchd ]; then
                msg_stopping "ntpwatchd"
                killproc ntpwatchd
@@ -30,7 +29,7 @@
        fi
 }
 
-reload () {
+reload() {
        if [ -f /var/lock/subsys/ntpwatchd ]; then
                msg_reloading "ntpwatchd"
                stop
@@ -41,34 +40,29 @@
        fi
 }
 
-
 RETVAL=0
 # See how we were called.
 case "$1" in
   start)
-       start
-       ;;
-
+       start
+       ;;
   stop)
-       stop
+       stop
        ;;
-  status)
-       status ntpwatchd
-       ;;
-
   restart)
-       stop
-       start
-       ;;
-
+       stop
+       start
+       ;;
   reload|force-reload)
-       reload
+       reload
+       ;;
+  status)
+       status ntpwatchd
        ;;
-
   *)
        msg_usage "$0 {start|stop|restart|reload|status}"
        exit 3
-       ;;
+       ;;
 esac
 
 exit $RETVAL
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/ntpwatchd.init?r1=1.1&r2=1.2&f=u

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

Reply via email to