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:
Lars Wendler 2011-04-18 10:28:47 -05:00 committed by William Hubbs
parent 64ef51ab09
commit ede4d1cd60

View File

@ -49,7 +49,7 @@ stop()
fi
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
no_umounts_r="^($no_umounts_r)$"