7 # REQUIRE: rpcbind ypset nfsclient FILESYSTEMS ldconfig
9 # KEYWORD: nojail shutdown
14 desc="Automatically mount filesystems"
16 command="/usr/sbin/${name}"
17 start_precmd="amd_precmd"
19 extra_commands="reload"
23 force_depend nfsclient nfs_client || return 1
24 force_depend rpcbind || return 1
26 case ${amd_map_program} in
30 rc_flags="${rc_flags} `echo $(eval ${amd_map_program})`"
34 case "${amd_flags}" in
36 if [ ! -r /etc/amd.conf ]; then
37 warn 'amd will not load without arguments'
42 rc_flags="-p ${rc_flags}"
43 command_args="> /var/run/amd.pid 2> /dev/null"