From 533813dda03d4b3cd1685f4063e314ae0539267e Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sun, 25 Mar 2012 18:29:37 -0500 Subject: localmount: Only unmount local filesystems if we are shutting down Make the stop function in localmount only unmount file systems when the system is going down. reported-by: Alexey Prokopchuk X-Gentoo-Bug: 407167 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=407167 --- init.d/localmount.in | 1 + 1 file changed, 1 insertion(+) diff --git a/init.d/localmount.in b/init.d/localmount.in index 158bafcd..de0b08b3 100644 --- a/init.d/localmount.in +++ b/init.d/localmount.in @@ -33,6 +33,7 @@ start() stop() { + yesno $RC_GOINGDOWN || return 0 # We never unmount / or /dev or $RC_SVCDIR # Bug 381783 -- cgit v1.2.3