7 if [ -e /dev
/nand0
]; then
8 addpart
/dev
/nand0
$nand_parts
10 # Uh, oh, hush first expands wildcards and then starts executing
11 # commands. What a bug!
12 source /env
/bin
/hush_hack
15 if [ -f /env
/logo.bmp
]; then
17 elif [ -f /env
/logo.bmp.lzo
]; then
18 unlzo
/env
/logo.bmp.lzo
/logo.bmp
22 if [ -z $eth0.ethaddr
]; then
23 while [ -z $eth0.ethaddr
]; do
24 readline
"no MAC address set for eth0. please enter the one found on your board: " eth0.ethaddr
26 echo -a /env
/config
"eth0.ethaddr=$eth0.ethaddr"
31 echo -n "Hit any key to stop autoboot: "
32 timeout
-a $autoboot_timeout
35 echo "type update_kernel [<imagename>] to update kernel into flash"
36 echo "type update_root [<imagename>] to update rootfs into flash"