/[sysadmin-cookbook]/recepies/dell/flash-bios.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /recepies/dell/flash-bios.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 129 by dpavlin, Thu Aug 20 12:43:53 2009 UTC revision 130 by dpavlin, Thu Aug 20 12:57:03 2009 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh -x
2    
3  modprobe dell_rbu  bios=`ls -d linux.dell.com/repo/firmware/bios-hdrs/*0x0211*/bios.hdr | iselect -a -t 'select bios'`
4  dellBiosUpdate -t -f $1 || exit  dellBiosUpdate -i -f $bios || exit
5    dellBiosUpdate -t -f $bios || exit
6    
7  echo -n "press ENTER to program bios or CTRL+C to abort ";  echo -n "ENTER to program bios and reboot or CTRL+C to abort ";
8  read  read
9    
10  dellBiosUpdate -u -f $1  modprobe dell_rbu
11    dellBiosUpdate -u -f $bios
12    reboot

Legend:
Removed from v.129  
changed lines
  Added in v.130

  ViewVC Help
Powered by ViewVC 1.1.26