summaryrefslogtreecommitdiffstats
path: root/openwrt/target/default/target_skeleton/sbin/mount_root
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/default/target_skeleton/sbin/mount_root')
-rwxr-xr-xopenwrt/target/default/target_skeleton/sbin/mount_root2
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/target/default/target_skeleton/sbin/mount_root b/openwrt/target/default/target_skeleton/sbin/mount_root
index 7a8184745..eef55b4bd 100755
--- a/openwrt/target/default/target_skeleton/sbin/mount_root
+++ b/openwrt/target/default/target_skeleton/sbin/mount_root
@@ -17,7 +17,7 @@ if [ "$1" != "failsafe" ]; then
pivot_root /jffs /jffs/rom
mount none /proc -t proc
mount none /dev -t devfs
- umount rom/proc rom/dev
+ umount /rom/proc rom/dev >&-
fi
fi
mount none /tmp -t tmpfs size=50%