=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/Attic/rc.local,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- src/etc/Attic/rc.local 1998/02/01 22:30:33 1.18 +++ src/etc/Attic/rc.local 1998/02/02 00:29:14 1.19 @@ -1,4 +1,4 @@ -# $OpenBSD: rc.local,v 1.18 1998/02/01 22:30:33 dima Exp $ +# $OpenBSD: rc.local,v 1.19 1998/02/02 00:29:14 dima Exp $ # site-specific startup actions, daemons, and other things which # can be done AFTER your system goes into securemode. For actions @@ -19,8 +19,12 @@ fi if [ -x /usr/local/sbin/cfsd ]; then - echo -n ' cfsd'; /usr/local/sbin/cfsd - mount -o port=3049,nfsv2,intr localhost:/null /crypt + if ps auxc | grep -q '^ *root .* mountd$'; then + echo -n ' cfsd'; /usr/local/sbin/cfsd + mount -o port=3049,nfsv2,intr localhost:/null /crypt + else + echo -n ' cfsd (failed, no mountd running)' + fi fi if [ -x /usr/local/sbin/snmpd ]; then