aboutsummaryrefslogtreecommitdiffstats
path: root/target/default
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2005-03-01 06:56:22 +0000
committerMike Baker <mbm@openwrt.org>2005-03-01 06:56:22 +0000
commit29c244f0341f2ca05dac674e79d8ed1148c1f6b7 (patch)
tree2ed46a5cd11f7202a979a167b9cf76df1826fe30 /target/default
parent7f6278a1b8b55f48615b5f7aaba29bb6c6bec032 (diff)
downloadupstream-29c244f0341f2ca05dac674e79d8ed1148c1f6b7.tar.gz
upstream-29c244f0341f2ca05dac674e79d8ed1148c1f6b7.tar.bz2
upstream-29c244f0341f2ca05dac674e79d8ed1148c1f6b7.zip
bugfix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@297 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/default')
-rwxr-xr-xtarget/default/target_skeleton/etc/preinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/default/target_skeleton/etc/preinit b/target/default/target_skeleton/etc/preinit
index 30c025be29..01df205831 100755
--- a/target/default/target_skeleton/etc/preinit
+++ b/target/default/target_skeleton/etc/preinit
@@ -1,6 +1,5 @@
#!/bin/sh
mount none /proc -t proc
-mount none /tmp -t ramfs
insmod diag
echo 0x01 > /proc/sys/diag
sleep 1
@@ -17,7 +16,8 @@ else
pivot_root /jffs /jffs/rom
mount none /dev -t devfs
mount none /proc -t proc
- umount rom/proc
+ umount rom/proc rom/dev
fi
fi
+mount none /tmp -t ramfs
exec /sbin/init