3 export PATH
=/bin
:/sbin
:/usr
/bin
:/usr
/sbin
4 mount none
/proc
-t proc
6 [ -f /proc
/sys
/diag
] && echo 0x01 > /proc
/sys
/diag
8 if [ -f /proc
/sys
/reset ] && [ $
(cat /proc
/sys
/reset) = 1 -o "$(nvram get failsafe)" = 1 ]; then
10 [ -x /usr
/sbin
/nvram
-a "$(nvram get boot_wait)" != "on" ] && {
11 nvram
set boot_wait
=on
14 while :; do { echo $
(((X
=(X
+1)%8)%2)) > /proc
/sys
/diag
; sleep $
((X
==0)); } done &
17 mount_root
${FAILSAFE:+failsafe}
19 # automagically run firstboot
20 [ -z "$FAILSAFE" -a -z "$(nvram get no_root_swap)" ] && {
21 { mount|
grep "on / type jffs2" 1>&-; } || firstboot
24 grep sysfs
/proc
/filesystems
>&- 2>&- && {
26 mount
-t sysfs none
/sys
This page took 0.039549 seconds and 5 git commands to generate.