8 # source application-specific settings
9 [ -f /etc
/conf.d
/autofs
] && .
/etc
/conf.d
/autofs
11 if [ ! -z "$TIMEOUT" ]; then
12 daemonoptions
="--timeout=$TIMEOUT $daemonoptions"
15 PID
=`cat /var/run/autofs-running 2> /dev/null`
18 stat_busy
"Starting $daemon_name daemon"
19 [ -z "$PID" ] && /usr
/sbin
/automount
$daemonoptions &> /dev
/null
23 add_daemon
$daemon_name
28 stat_busy
"Stopping $daemon_name daemon"
29 [ ! -z "$PID" ] && kill $PID &> /dev
/null
33 rm_daemon
$daemon_name
38 stat_busy
"Restarting $daemon_name daemon"
44 stat_busy
"Checking $daemon_name status";
45 ck_status
$daemon_name
48 echo "usage: $0 {start|stop|restart|status}"