--- rc.shutdown.orig 2011-06-09 22:23:09.000000000 +0000 +++ rc.shutdown 2011-07-31 02:47:22.686835949 +0000 @@ -51,6 +51,17 @@ fi stat_busy "Unmounting Filesystems" +#unmount network filesystems for runit +INIT=`ps -p1 -o comm=` +if [ x$INIT = xrunit ] +then + if [ -e /var/services/netfs ] + then + /etc/rc.d/netfs stop + fi +fi + + if /bin/grep -q devtmpfs /proc/filesystems &>/dev/null; then /bin/umount -a -r -t nosysfs,noproc,nodevtmpfs,nodevpts -O no_netdev else