parent
d7363931eb
commit
2fc1809744
|
@ -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