| #!/bin/bash | |
| # | |
| # Perform BIOS update if needed. | |
| # | |
| # This runs before a powercycle to install a staged BIOS update | |
| source /usr/libexec/bios-common.sh | |
| if need_bios_update; then | |
| # Flash BIOS EEPROM, if it has a BIOS update pending | |
| echo "BIOS update required, executing" | |
| bios_update | |
| fi |