--- elwix/config/etc/rootfs/rc 2017/10/08 00:05:37 1.7.2.4 +++ elwix/config/etc/rootfs/rc 2017/10/08 01:38:48 1.7.2.5 @@ -2,7 +2,7 @@ # # Boot startup script for ELWIX RootFS ... # -# $Id: rc,v 1.7.2.4 2017/10/08 00:05:37 misho Exp $ +# $Id: rc,v 1.7.2.5 2017/10/08 01:38:48 misho Exp $ stty status '^T' @@ -30,6 +30,7 @@ FRMSIZE2="21m" FRMFILE2="elwix-firmware2.sys" FRMPATH="/elwix" +FRM2PATH="/elwix/pkg" FIT2CF="/dev/ufs/fit2cf" CFDIR="/elwix/cf" @@ -66,17 +67,17 @@ boot_elwix2() { echo " RootFS: Loading ELWIX secondary firmware" - mdmfs -s $FRMSIZE2 -S -n -m0 -oasync $FRMDEV2 /elwix/pkg + mdmfs -s $FRMSIZE2 -S -n -m0 -oasync $FRMDEV2 $FRM2PATH if [ "$?" != "0" ]; then failed_sysvol "to mount firmware image " $FRMFILE2 fi - cd /elwix/pkg + cd $FRM2PATH pax -r -z -pe -f $FRMPATH/$FRMFILE2 if [ "$?" != "0" ]; then failed_sysvol "to load firmware image " $FRMFILE2 fi cd - - mount -ur /elwix/pkg + mount -ur $FRM2PATH } mount_usr()