summaryrefslogtreecommitdiff
path: root/target/default/target_skeleton/etc/preinit
diff options
context:
space:
mode:
Diffstat (limited to 'target/default/target_skeleton/etc/preinit')
-rwxr-xr-xtarget/default/target_skeleton/etc/preinit6
1 files changed, 3 insertions, 3 deletions
diff --git a/target/default/target_skeleton/etc/preinit b/target/default/target_skeleton/etc/preinit
index d2036f4e59..28fe805260 100755
--- a/target/default/target_skeleton/etc/preinit
+++ b/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