7 # REQUIRE: rpcbind ypset nfsclient FILESYSTEMS ldconfig
9 # KEYWORD: nojail shutdown
15 command="/usr/sbin/${name}"
16 start_precmd="amd_precmd"
18 extra_commands="reload"
22 force_depend nfsclient nfs_client || return 1
23 force_depend rpcbind || return 1
25 case ${amd_map_program} in
29 rc_flags="${rc_flags} `echo $(eval ${amd_map_program})`"
33 case "${amd_flags}" in
35 if [ ! -r /etc/amd.conf ]; then
36 warn 'amd will not load without arguments'
41 rc_flags="-p ${rc_flags}"
42 command_args="> /var/run/amd.pid 2> /dev/null"