summaryrefslogtreecommitdiff
path: root/sys-apps/openrc/files/openrc-netmount-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/openrc/files/openrc-netmount-fix.patch')
-rw-r--r--sys-apps/openrc/files/openrc-netmount-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/sys-apps/openrc/files/openrc-netmount-fix.patch b/sys-apps/openrc/files/openrc-netmount-fix.patch
new file mode 100644
index 00000000..8e6b3686
--- /dev/null
+++ b/sys-apps/openrc/files/openrc-netmount-fix.patch
@@ -0,0 +1,11 @@
+--- openrc-0.5.3.orig/init.d/netmount.in
++++ openrc-0.5.3/init.d/netmount.in
+@@ -80,7 +80,7 @@ stop()
+ fs="$fs${fs:+,}$x"
+ done
+ if [ -n "$fs" ]; then
+- umount -at $fs || eerror "Failed to simply unmount filesystems"
++ umount -at $fs || umount -atl $fs || eerror "Failed to simply unmount filesystems"
+ fi
+
+ eindent