7 if [ -e /dev
/nor0
]; then
8 addpart
/dev
/nor0
$nor_parts
11 if [ -e /dev
/nand0
]; then
12 addpart
/dev
/nand0
$nand_parts
14 # Uh, oh, hush first expands wildcards and then starts executing
15 # commands. What a bug!
16 source /env
/bin
/hush_hack
19 if [ -z $eth0.ethaddr
]; then
20 while [ -z $eth0.ethaddr
]; do
21 readline
"no MAC address set for eth0. please enter the one found on your board: " eth0.ethaddr
23 echo -a /env
/config
"eth0.ethaddr=$eth0.ethaddr"
27 echo -n "Hit any key to stop autoboot: "
28 timeout
-a $autoboot_timeout
31 echo "type update_kernel nand|nor [<imagename>] to update kernel into flash"
32 echo "type update_root nand|nor [<imagename>] to update rootfs into flash"