6 # description: Runs the automount daemon that mounts devices and NFS hosts \
9 # config: /etc/amd.conf
12 # Source function library.
13 . /etc/rc.d/init.d/functions
17 # See how we were called.
20 echo -n "Starting amd: "
21 touch /var/lock/subsys/amd
22 daemon /usr/sbin/amd -a $ADIR -l syslog $AMDOPTS -c 1000 $MOUNTPTS
27 echo -n "Shutting down amd: "
29 rm -f /var/lock/subsys/amd
43 echo "Usage: amd {start|stop|status|restart|reload}"