mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-24 20:53:22 +02:00
bugfix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@297 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
77dcd848b7
commit
469f2ce165
@ -1,6 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
mount none /proc -t proc
|
mount none /proc -t proc
|
||||||
mount none /tmp -t ramfs
|
|
||||||
insmod diag
|
insmod diag
|
||||||
echo 0x01 > /proc/sys/diag
|
echo 0x01 > /proc/sys/diag
|
||||||
sleep 1
|
sleep 1
|
||||||
@ -17,7 +16,8 @@ else
|
|||||||
pivot_root /jffs /jffs/rom
|
pivot_root /jffs /jffs/rom
|
||||||
mount none /dev -t devfs
|
mount none /dev -t devfs
|
||||||
mount none /proc -t proc
|
mount none /proc -t proc
|
||||||
umount rom/proc
|
umount rom/proc rom/dev
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
mount none /tmp -t ramfs
|
||||||
exec /sbin/init
|
exec /sbin/init
|
||||||
|
Loading…
Reference in New Issue
Block a user