version 1.1.1.1.6.4, 2012/02/09 01:27:57
|
version 1.1.1.1.6.5, 2012/02/14 13:54:08
|
Line 32 failed_sysvol()
|
Line 32 failed_sysvol()
|
|
|
boot_elwix() |
boot_elwix() |
{ |
{ |
echo " RootFS: Load ELWIX system firmware" | echo " RootFS: Loading ELWIX system firmware" |
mdconfig -a -t vnode -u 1 -f /elwix/elwix-firmware.sys && mount -r /dev/md1.uzip /usr |
mdconfig -a -t vnode -u 1 -f /elwix/elwix-firmware.sys && mount -r /dev/md1.uzip /usr |
if test $? -ne 0; then |
if test $? -ne 0; then |
|
echo " RootFS: Failed firmware image! Try to load ELWIX system firmware from alternative location" |
mdconfig -d -u 1 >/dev/null 2>&1 |
mdconfig -d -u 1 >/dev/null 2>&1 |
mdconfig -a -t vnode -u 1 -f /elwix/altroot/elwix-firmware.sys && mount -r /dev/md1.uzip /usr |
mdconfig -a -t vnode -u 1 -f /elwix/altroot/elwix-firmware.sys && mount -r /dev/md1.uzip /usr |
if test $? -ne 0; then |
if test $? -ne 0; then |
Line 61 if test -c $FIT2CF -a -d $CFDIR; then
|
Line 62 if test -c $FIT2CF -a -d $CFDIR; then
|
failed_sysvol mount "flash volume" |
failed_sysvol mount "flash volume" |
fi |
fi |
|
|
boot_elwix | if [ -r /elwix/elwix-firmware.sys ]; then |
| boot_elwix |
| else |
| echo " RootFS: Skip loading ELWIX system firmware ..." |
| fi |
|
|
exec /etc/rc.init |
exec /etc/rc.init |