aboutsummaryrefslogtreecommitdiff
path: root/init.d/halt.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'init.d/halt.sh.in')
-rw-r--r--init.d/halt.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.d/halt.sh.in b/init.d/halt.sh.in
index 0b36ec43..74ac02b7 100644
--- a/init.d/halt.sh.in
+++ b/init.d/halt.sh.in
@@ -82,6 +82,7 @@ if [ "${RC_UNAME}" = "Linux" ]; then
[ -n "${fs}" ] && fs="^(${fs})$"
do_unmount "mount -n -o remount,ro" \
--skip-point-regex "^(/dev|/dev/.*|/proc|/proc/.*|/sys|/sys/.*)$" \
+ --skip-options-regex "^ro" \
${fs:+--skip-fstype-regex} ${fs} --nonetdev
eoutdent
eend $?