summaryrefslogtreecommitdiffstats
path: root/abs/core/initscripts/rc.shutdown.patch
blob: 407349e313d2f687efded4b5ec75fb0296a2cd09 (plain)
1
2
3
4
5
6
7
8
9
+#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