diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-12 13:00:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-12 14:24:28 +0000 |
commit | 880a404a6daca5e4b606bab8d0b67dd581dd242c (patch) | |
tree | 77315dc7357f6f2116380ba766c2e2e64363538e /main/openrc/localmount.patch | |
parent | 76a32b96eb1fdb398317bbb8c05755415a28da4b (diff) | |
download | aports-880a404a6daca5e4b606bab8d0b67dd581dd242c.tar.bz2 aports-880a404a6daca5e4b606bab8d0b67dd581dd242c.tar.xz |
main/openrc: localmount: don't umount .modloop
fixes #178
(cherry picked from commit 52e59e902232fa150e2e8ced9e66bbd5d4140023)
Diffstat (limited to 'main/openrc/localmount.patch')
-rw-r--r-- | main/openrc/localmount.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/main/openrc/localmount.patch b/main/openrc/localmount.patch new file mode 100644 index 00000000..c80d640a --- /dev/null +++ b/main/openrc/localmount.patch @@ -0,0 +1,12 @@ +diff -ru openrc-0.5.0.orig/init.d/localmount.in openrc-0.5.0/init.d/localmount.in +--- openrc-0.5.0.orig/init.d/localmount.in 2009-10-09 09:08:43.000000000 +0000 ++++ openrc-0.5.0/init.d/localmount.in 2009-10-09 09:09:08.000000000 +0000 +@@ -31,7 +31,7 @@ + { + # We never unmount / or /dev or $RC_SVCDIR + local x= no_umounts_r="/|/dev|/dev/.*|${RC_SVCDIR}" +- no_umounts_r="${no_umounts_r}|/bin|/sbin|/lib|/libexec" ++ no_umounts_r="${no_umounts_r}|/bin|/sbin|/lib|/libexec|/.modloop" + # RC_NO_UMOUNTS is an env var that can be set by plugins + OIFS=$IFS SIFS=${IFS-y} + IFS=$IFS: |