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
This commit is contained in:
parent
6ac182c9ca
commit
533813dda0
@ -33,6 +33,7 @@ start()
|
|||||||
|
|
||||||
stop()
|
stop()
|
||||||
{
|
{
|
||||||
|
yesno $RC_GOINGDOWN || return 0
|
||||||
# We never unmount / or /dev or $RC_SVCDIR
|
# We never unmount / or /dev or $RC_SVCDIR
|
||||||
|
|
||||||
# Bug 381783
|
# Bug 381783
|
||||||
|
Loading…
Reference in New Issue
Block a user