aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit26da6c04c9daed3a7f9a3f7ccf67a5e89d7f29bb (patch)
tree3dff87c9cbbaa53f93351a41bdf920c299597639 /target/default
parent62ed4966b1eb1294c2c79f8d3dc85263ec9a5bb4 (diff)
downloadmaster-187ad058-26da6c04c9daed3a7f9a3f7ccf67a5e89d7f29bb.tar.gz
master-187ad058-26da6c04c9daed3a7f9a3f7ccf67a5e89d7f29bb.tar.bz2
master-187ad058-26da6c04c9daed3a7f9a3f7ccf67a5e89d7f29bb.zip
bugfix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@294 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/default')
-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