--- elwix/config/etc/rootfs/rc 2011/11/02 10:04:11 1.1.1.1.6.1 +++ elwix/config/etc/rootfs/rc 2011/11/02 10:30:20 1.1.1.1.6.2 @@ -2,7 +2,7 @@ # # Boot startup script for ELWIX RootFS ... # -# $Id: rc,v 1.1.1.1.6.1 2011/11/02 10:04:11 misho Exp $ +# $Id: rc,v 1.1.1.1.6.2 2011/11/02 10:30:20 misho Exp $ stty status '^T' @@ -33,12 +33,13 @@ failed_sysvol() boot_elwix() { echo " RootFS: Load ELWIX system firmware" - if ! test -r /elwix/elwix-firmware.sys; then - failed_sysvol "not found" + mdconfig -a -t vnode -u 1 -f /elwix/elwix-firmware.sys && mount -r /dev/md1.uzip /usr + if test $? -ne 0; then + mdconfig -a -t vnode -u 1 -f /elwix/altroot/elwix-firmware.sys && mount -r /dev/md1.uzip /usr + if test $? -ne 0; then + failed_sysvol "load system and default image" elwix-firmware.sys + fi fi - - mdconfig -a -t vnode -u 1 -f /elwix/elwix-firmware.sys; - mount -r /dev/md1.uzip /usr; sleep 2 }