diff options
author | mtm <mtm@FreeBSD.org> | 2003-01-24 00:37:52 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2003-01-24 00:37:52 +0000 |
commit | 8a55a31618aea1ffbd4a75915958fdcb772c3236 (patch) | |
tree | 1b6308eea7ce20e24d5856f2d1321163219be981 /etc/rc.d/nfsd | |
parent | dee3b611a1261c54189e3923882d17b9752260b3 (diff) | |
download | FreeBSD-src-8a55a31618aea1ffbd4a75915958fdcb772c3236.zip FreeBSD-src-8a55a31618aea1ffbd4a75915958fdcb772c3236.tar.gz |
Cleanup as many instances of rc.conf variable use before
calling load_rc_config().
Approved by: markm (mentor) dougb
Diffstat (limited to 'etc/rc.d/nfsd')
-rwxr-xr-x | etc/rc.d/nfsd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.d/nfsd b/etc/rc.d/nfsd index db76590..4f7bf88 100755 --- a/etc/rc.d/nfsd +++ b/etc/rc.d/nfsd @@ -14,6 +14,7 @@ name="nfsd" rcvar=`set_rcvar nfs_server` command="/usr/sbin/${name}" +load_rc_config $name case ${OSTYPE} in FreeBSD) command_args="${nfs_server_flags}" @@ -51,5 +52,4 @@ nfsd_precmd() return 0 } -load_rc_config $name run_rc_command "$1" |