diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-08-19 21:55:16 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1997-08-19 21:55:16 +0000 |
commit | 081f25d36cd5bbc731e9a3f493deb4ffc5e25f93 (patch) | |
tree | 66dc6186ee90164bd2eef8e573568e3202aef4b7 /etc/rc | |
parent | 5a82b9b65d5f70934fc30e37d133d8aad0b4b4b6 (diff) |
Add hook for rpc.lockd, make nfsd flags settable in netstart
Diffstat (limited to 'etc/rc')
-rw-r--r-- | etc/rc | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.41 1997/07/31 02:23:45 downsj Exp $ +# $OpenBSD: rc,v 1.42 1997/08/19 21:55:14 niklas Exp $ # System startup script run by init on autoboot # or after single-user. @@ -156,7 +156,10 @@ if [ X${nfs_server} = X"YES" -a -r /etc/exports ]; then rm -f /var/db/mountdtab echo -n > /var/db/mountdtab echo -n ' mountd'; mountd - echo -n ' nfsd'; nfsd -tun 4 + echo -n ' nfsd'; nfsd ${nfsd_flags} + if [ X${lockd} = X"YES" ]; then + echo -n ' rpc.lockd'; rpc.lockd + fi fi # $nfs_client is imported from /etc/netstart; |