|
@ -1,4 +1,4 @@ |
|
|
# $OpenBSD: rc.local,v 1.23 1998/06/15 18:41:12 deraadt Exp $ |
|
|
|
|
|
|
|
|
# $OpenBSD: rc.local,v 1.24 1999/03/01 04:41:48 fgsch Exp $ |
|
|
|
|
|
|
|
|
# site-specific startup actions, daemons, and other things which |
|
|
# site-specific startup actions, daemons, and other things which |
|
|
# can be done AFTER your system goes into securemode. For actions |
|
|
# can be done AFTER your system goes into securemode. For actions |
|
@ -17,7 +17,7 @@ fi |
|
|
|
|
|
|
|
|
if [ -x /usr/local/sbin/cfsd ]; then |
|
|
if [ -x /usr/local/sbin/cfsd ]; then |
|
|
if ps auxc | grep -q '^ *root .* mountd$'; then |
|
|
if ps auxc | grep -q '^ *root .* mountd$'; then |
|
|
echo -n ' cfsd'; /usr/local/sbin/cfsd |
|
|
|
|
|
|
|
|
echo -n ' cfsd'; /usr/local/sbin/cfsd >/dev/null 2>&1 |
|
|
mount -o port=3049,nfsv2,intr localhost:/null /crypt |
|
|
mount -o port=3049,nfsv2,intr localhost:/null /crypt |
|
|
else |
|
|
else |
|
|
echo -n ' cfsd (failed, no mountd running)' |
|
|
echo -n ' cfsd (failed, no mountd running)' |
|
|