blob: 7456b547c5a5c0f9a47ae0c76f02ea90b09469fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
--- rc.shutdown.orig 2009-02-06 15:32:04.000000000 +0000
+++ rc.shutdown 2009-02-06 15:45:05.000000000 +0000
@@ -22,6 +22,12 @@
/etc/rc.local.shutdown
fi
+#unmount network filesystems for runit
+#if [ -e /var/service/netfs ]
+#then
+ /etc/rc.d/netfs stop
+#fi
+
if [ "$PREVLEVEL" = "3" -o "$PREVLEVEL" = "5" ]; then
# Shutdown daemons
let i=${#DAEMONS[@]}
@@ -39,6 +45,7 @@
fi
fi
+
# Terminate all processes
stat_busy "Sending SIGTERM To Processes"
/sbin/killall5 -15 &> /dev/null
|