]> git.pld-linux.org Git - packages/am-utils.git/commitdiff
- updated to rc-scripts 0.2.0
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 28 Mar 2000 12:59:55 +0000 (12:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    am-utils.init -> 1.2

am-utils.init

index f2f59db5593d3403c04a4ac1143398e5ee3fa499..ce8db8dceb9be5277ae632ef0bc5f4bfa4201762 100644 (file)
@@ -1,33 +1,28 @@
 #!/bin/sh
 #
-# Version: 1.2
-#
-# chkconfig: 345 72 28
-# description: Runs the automount daemon that mounts devices and NFS hosts \
-#             on demand.
-# processname: amd
-# config: /etc/amd.conf
-#
+# chkconfig:   345 72 28
+# description: Runs the automount daemon that mounts devices and NFS hosts \
+#              on demand.
+# processname: amd
+# config:      /etc/amd.conf
 
 # Source function library.
 . /etc/rc.d/init.d/functions
 
+# Demon specified configuration.
 . /etc/sysconfig/amd
 
 # See how we were called.
 case "$1" in
   start)
-       echo -n "Starting amd: "
-       touch /var/lock/subsys/amd
+       msg_starting amd
        daemon /usr/sbin/amd -a $ADIR -l syslog $AMDOPTS -c 1000 $MOUNTPTS
-       echo
-       
+       touch /var/lock/subsys/amd
        ;;
   stop)
-       echo -n "Shutting down amd: "
+       msg_stopping amd
        killproc amd
        rm -f /var/lock/subsys/amd
-       echo
        ;;
   status)
        status amd
@@ -40,7 +35,7 @@ case "$1" in
        killall -HUP amd
        ;;
   *)
-       echo "Usage: amd {start|stop|status|restart|reload}"
+       msg_Usage "$0 {start|stop|status|restart|reload}"
        exit 1
 esac
 
This page took 0.058575 seconds and 4 git commands to generate.