summaryrefslogtreecommitdiffstats
path: root/root/etc/preinit
diff options
context:
space:
mode:
Diffstat (limited to 'root/etc/preinit')
-rwxr-xr-xroot/etc/preinit3
1 files changed, 1 insertions, 2 deletions
diff --git a/root/etc/preinit b/root/etc/preinit
index 25fedc1e6..1054282e8 100755
--- a/root/etc/preinit
+++ b/root/etc/preinit
@@ -9,8 +9,7 @@ if /sbin/resetmon ; then
pivot_root /jffs /jffs/rom
mount none /dev -t devfs
mount none /proc -t proc
- umount rom/proc
- umount rom/dev
+ umount rom/proc rom/dev
else
export FAILSAFE=true
fi