diff options
Diffstat (limited to 'etc/rc.d/amd')
-rwxr-xr-x | etc/rc.d/amd | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.d/amd b/etc/rc.d/amd index 10b38c4..0423624 100755 --- a/etc/rc.d/amd +++ b/etc/rc.d/amd @@ -28,17 +28,17 @@ NetBSD) ;; esac -amd_precmd() +amd_precmd() { case ${OSTYPE} in FreeBSD) - if ! checkyesno nfs_client_enable ; then + if ! checkyesno nfs_client_enable; then force_depend nfsclient || return 1 fi if ! checkyesno rpcbind_enable && \ ! /etc/rc.d/rpcbind forcestatus 1>/dev/null 2>&1 - then + then force_depend rpcbind || return 1 fi |