summaryrefslogtreecommitdiffstats
path: root/abs/core/initscripts/rc.shutdown.patch
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-09 00:03:13 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-09 00:03:13 (GMT)
commit15699db7cc8429c3f9d7a2b516b91889e010984d (patch)
tree7ab2a82cb742084678bc48e12ddbf6c111e186f8 /abs/core/initscripts/rc.shutdown.patch
parent140af5d159d16ddd259d4e98b8159f85b2dce62d (diff)
downloadlinhes_pkgbuild-15699db7cc8429c3f9d7a2b516b91889e010984d.zip
linhes_pkgbuild-15699db7cc8429c3f9d7a2b516b91889e010984d.tar.gz
linhes_pkgbuild-15699db7cc8429c3f9d7a2b516b91889e010984d.tar.bz2
initscripts: 07-2012
-shutdown for runit is untested, might need to apply the shutdown patch
Diffstat (limited to 'abs/core/initscripts/rc.shutdown.patch')
-rw-r--r--abs/core/initscripts/rc.shutdown.patch11
1 files changed, 0 insertions, 11 deletions
diff --git a/abs/core/initscripts/rc.shutdown.patch b/abs/core/initscripts/rc.shutdown.patch
index 973ff41..407349e 100644
--- a/abs/core/initscripts/rc.shutdown.patch
+++ b/abs/core/initscripts/rc.shutdown.patch
@@ -1,9 +1,3 @@
---- 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 ]
@@ -13,8 +7,3 @@
+ /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