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