aboutsummaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'init.d')
-rw-r--r--init.d/.gitignore2
-rw-r--r--init.d/Makefile.Linux2
-rw-r--r--init.d/mount-ro.in2
3 files changed, 3 insertions, 3 deletions
diff --git a/init.d/.gitignore b/init.d/.gitignore
index dace4de5..626d7a2e 100644
--- a/init.d/.gitignore
+++ b/init.d/.gitignore
@@ -7,8 +7,8 @@ hostname
killprocs
local
localmount
+mount-ro
netmount
-romount
root
savecache
swap
diff --git a/init.d/Makefile.Linux b/init.d/Makefile.Linux
index 1bf3fe70..fa4a6d09 100644
--- a/init.d/Makefile.Linux
+++ b/init.d/Makefile.Linux
@@ -1,7 +1,7 @@
NET_LO= net.lo
SRCS+= devfs.in dmesg.in hwclock.in consolefont.in keymaps.in killprocs.in \
- modules.in mtab.in numlock.in procfs.in romount.in sysfs.in \
+ modules.in mount-ro.in mtab.in numlock.in procfs.in sysfs.in \
termencoding.in
# This really belongs with sysvinit
diff --git a/init.d/mount-ro.in b/init.d/mount-ro.in
index e39384a3..2fb83c0a 100644
--- a/init.d/mount-ro.in
+++ b/init.d/mount-ro.in
@@ -37,7 +37,7 @@ start()
fs="${fs}${fs:+|}${x}"
done
[ -n "${fs}" ] && fs="^(${fs})$"
- do_unmount "mount -n -o remount,ro" \
+ do_unmount "umount -r" \
--skip-point-regex "${m}" \
${fs:+--skip-fstype-regex} ${fs} --nonetdev
eoutdent