summaryrefslogtreecommitdiffstats
path: root/openwrt/target/default/target_skeleton
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-02-26 02:32:16 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-02-26 02:32:16 +0000
commite6a8154811ab88f040bf77410f02cde203f3a41c (patch)
tree974dde8f6003d98e97764410cbbbe1ccfe6b5138 /openwrt/target/default/target_skeleton
parent7cef27d7518e984db79e1025bb0e2927b940ec68 (diff)
bugfix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@294 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/target/default/target_skeleton')
-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 d2036f4e5..28fe80526 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