summaryrefslogtreecommitdiff
path: root/openwrt/target/default/target_skeleton/sbin/mount_root
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2005-05-23 21:44:17 +0000
committerMike Baker <mbm@openwrt.org>2005-05-23 21:44:17 +0000
commite118e0e8efb25f98442afd5659a97fd512bc5fc2 (patch)
tree0be7546e2a40d9732aea1519da751c649ff417c4 /openwrt/target/default/target_skeleton/sbin/mount_root
parent665f4e542c1ccb225ff09e3a18c73375f91b0965 (diff)
downloadmtk-20170518-e118e0e8efb25f98442afd5659a97fd512bc5fc2.zip
mtk-20170518-e118e0e8efb25f98442afd5659a97fd512bc5fc2.tar.gz
mtk-20170518-e118e0e8efb25f98442afd5659a97fd512bc5fc2.tar.bz2
hide some non-critical error messages; prevent newbie bug reports
SVN-Revision: 1028
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 7a81847..eef55b4 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%