mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-27 21:00:37 +02:00
minor changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@74 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
217e8b3308
commit
c16f39693e
@ -1,6 +1,6 @@
|
|||||||
#!/bin/ash
|
#!/bin/ash
|
||||||
|
|
||||||
alias debug=${DEBUG:-true}
|
alias debug=${DEBUG:-:}
|
||||||
|
|
||||||
# allow env to override nvram
|
# allow env to override nvram
|
||||||
nvram_get () {
|
nvram_get () {
|
||||||
|
@ -4,8 +4,8 @@ insmod diag
|
|||||||
echo 0x01 > /proc/sys/diag
|
echo 0x01 > /proc/sys/diag
|
||||||
sleep 1
|
sleep 1
|
||||||
if /sbin/resetmon ; then
|
if /sbin/resetmon ; then
|
||||||
mtd unlock mtd4
|
mount -t jffs2 /dev/mtdblock/4 /jffs && \
|
||||||
mount -t jffs2 /dev/mtdblock/4 /jffs
|
mtd unlock mtd4 &
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user