Changeset 2810 in /cluster/svnroot


Ignore:
Timestamp:
Nov 11, 2010 9:42:22 AM (10 years ago)
Author:
leemasa
Message:

Testing sam-test_fw

Location:
bccd-ng/branches/sam-test_fw/trees
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/sam-test_fw/trees/KNOPPIX/boot/isolinux/minirt/linuxrc

    r2696 r2810  
    445445        #echo ${MODULE} ${RC}
    446446done
     447
     448echo "ATTEMPTING TO DETECT MODE...";
     449echo "IFCONFIG"
     450ifconfig -a
     451MACADDR=`ifconfig -a | awk '/eth0/ {print $5}' | head -1`
     452echo "eth0 Mac Address: $MACADDR"
     453MODE_ID=`echo $MACADDR | awk -F : '{print $1}'`
     454echo "Mode_ID: $MODE_ID"
     455if test "$MODE_ID" = "02";  then
     456        echo "CUSTOM MAC DETECTED, BOOTING INTO TEST MODE";
     457        echo 'export BCCD_MODE=test' >> $newhome/.bash_profile;
     458        /usr/sbin/update-rc.d -f /etc/init.d/bccd-passwd remove
     459        touch /testmode
     460
     461else
     462        echo "BOOTING INTO INTERACTIVE MODE";
     463        echo 'export BCCD_MODE=interactive' >> $newhome/.bash_profile;
     464        touch /interactivemode
     465fi
     466
     467echo "drop to shell"
     468/bbin/ash
     469
    447470
    448471# Check for Firewire, use modules on bootfloppy first
  • bccd-ng/branches/sam-test_fw/trees/usr/local/lib/site_perl/5.10.0/Bccd.pm

    r2691 r2810  
    15581558    $self->enter_sub($sub);
    15591559    $self->leave_sub($sub);
    1560     print "not ok ".get_total($self)." - $msg\n";
     1560    print "not ok ".get_total($self)." - $msg %!\n";
    15611561}
    15621562
Note: See TracChangeset for help on using the changeset viewer.