diff options
author | William Hubbs <williamh@gentoo.org> | 2012-03-25 18:29:37 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-03-25 18:38:13 -0500 |
commit | 533813dda03d4b3cd1685f4063e314ae0539267e (patch) | |
tree | b58fbc50bc121cbcb49867a0768bbc0215abb110 | |
parent | 6ac182c9cab4bde83767ea82ba2013cf126d55de (diff) |
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 <alexpro@homelan.lg.ua>
X-Gentoo-Bug: 407167
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=407167
-rw-r--r-- | init.d/localmount.in | 1 |
1 files changed, 1 insertions, 0 deletions
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 |