3 system_id=`getSystemId | grep 'System ID:' | cut -d: -f2 | sed 's/ //g'`
4 version=`getSystemId | grep 'BIOS' | cut -d: -f2 | sed 's/ //g'`
6 dir=linux.dell.com/repo/firmware/bios-hdrs
8 bios=`ls -d $dir/*$system_id*/bios.hdr | cut -d/ -f 5 | iselect -a -t "System $system_id BIOS $version"`
10 test -z "$bios" && exit
12 bios="$dir/$bios/bios.hdr"
14 dellBiosUpdate -i -f $bios || exit
15 dellBiosUpdate -t -f $bios || exit
17 echo -n "ENTER to program bios and reboot or CTRL+C to abort ";
21 dellBiosUpdate -u -f $bios