Changed files:
autofs.init -> 1.30
fi
}
-RETVAL=0
-# See how we were called.
-case "$1" in
- start)
+start() {
# Check if the service is already running?
if [ ! -f /var/lock/subsys/autofs ]; then
msg_starting automounter
else
msg_already_running automounter
fi
- ;;
- stop)
+}
+
+stop() {
if [ -f /var/lock/subsys/autofs ]; then
msg_stopping automounter
killproc automount
else
msg_not_running automounter
fi
+}
+
+RETVAL=0
+# See how we were called.
+case "$1" in
+ start)
+ start
+ ;;
+ stop)
+ stop
;;
restart|force-reload)
- $0 stop
- $0 start
- exit $?
+ stop
+ start
;;
status)
nls "Configured Mount Points:"