Don't unmount /run on shutdown
This is needed so that udev will stop properly on shutdown. X-Gentoo-Bug: 363971 X-Gentoo-Bug-Url: http://bugs.gentoo.org/show_bug.cgi?id=363971
This commit is contained in:
parent
64ef51ab09
commit
ede4d1cd60
@ -49,7 +49,7 @@ stop()
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$RC_UNAME" = Linux ]; then
|
if [ "$RC_UNAME" = Linux ]; then
|
||||||
no_umounts_r="$no_umounts_r|/proc|/proc/.*|/sys|/sys/.*"
|
no_umounts_r="$no_umounts_r|/proc|/proc/.*|/run|/sys|/sys/.*"
|
||||||
fi
|
fi
|
||||||
no_umounts_r="^($no_umounts_r)$"
|
no_umounts_r="^($no_umounts_r)$"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user