7 # REQUIRE: rpcbind ypbind nfsclient cleanvar ldconfig
9 # KEYWORD: nojail shutdown
15 command="/usr/sbin/${name}"
16 start_precmd="amd_precmd"
18 extra_commands="reload"
22 if ! checkyesno nfs_client_enable; then
23 force_depend nfsclient || return 1
26 if ! checkyesno rpcbind_enable && \
27 ! /etc/rc.d/rpcbind forcestatus 1>/dev/null 2>&1
29 force_depend rpcbind || return 1
32 case ${amd_map_program} in
36 rc_flags="${rc_flags} `echo $(eval ${amd_map_program})`"
40 case "${amd_flags}" in
42 if [ ! -r /etc/amd.conf ]; then
43 warn 'amd will not load without arguments'
48 rc_flags="-p ${rc_flags}"
49 command_args="> /var/run/amd.pid 2> /dev/null"