summaryrefslogtreecommitdiff
path: root/openwrt/target/default
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2005-02-26 02:32:16 +0000
committerMike Baker <mbm@openwrt.org>2005-02-26 02:32:16 +0000
commit6e1c4d0da3ba45b4a1c2bfba79b07216dcb252b9 (patch)
tree974dde8f6003d98e97764410cbbbe1ccfe6b5138 /openwrt/target/default
parent5ead46cce658c94abc27e8ae7411f28b2804e5f9 (diff)
downloadmtk-20170518-6e1c4d0da3ba45b4a1c2bfba79b07216dcb252b9.zip
mtk-20170518-6e1c4d0da3ba45b4a1c2bfba79b07216dcb252b9.tar.gz
mtk-20170518-6e1c4d0da3ba45b4a1c2bfba79b07216dcb252b9.tar.bz2
bugfix
SVN-Revision: 294
Diffstat (limited to 'openwrt/target/default')
-rwxr-xr-xopenwrt/target/default/target_skeleton/etc/preinit6
1 files changed, 3 insertions, 3 deletions
diff --git a/openwrt/target/default/target_skeleton/etc/preinit b/openwrt/target/default/target_skeleton/etc/preinit
index d2036f4..28fe805 100755
--- a/openwrt/target/default/target_skeleton/etc/preinit
+++ b/openwrt/target/default/target_skeleton/etc/preinit
@@ -11,10 +11,10 @@ else
mtd unlock mtd4
mount -t jffs2 /dev/mtdblock/4 /jffs
pivot_root /jffs /jffs/rom
- mount none /dev -t devfs
- mount none /proc -t proc
- umount rom/proc
}
+ mount none /dev -t devfs
+ mount none /proc -t proc
+ umount rom/proc
fi
mount none /tmp -t ramfs
exec /sbin/init