diff options
author | Chris Severance | 2016-06-23 13:25:44 -0400 |
---|---|---|
committer | Chris Severance | 2016-06-23 13:25:44 -0400 |
commit | aa6e253ad3ddbe46e528ecb33176d989024d11cc (patch) | |
tree | 97442a796e7b6e79be5d1312d3d9ecd331907a16 /bios-lenovo-thinkserver-ts140.install | |
download | aur-aa6e253ad3ddbe46e528ecb33176d989024d11cc.tar.gz |
Initial Import
Diffstat (limited to 'bios-lenovo-thinkserver-ts140.install')
-rw-r--r-- | bios-lenovo-thinkserver-ts140.install | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/bios-lenovo-thinkserver-ts140.install b/bios-lenovo-thinkserver-ts140.install new file mode 100644 index 000000000000..b0a9db89553c --- /dev/null +++ b/bios-lenovo-thinkserver-ts140.install @@ -0,0 +1,26 @@ +_folder='/usr/lib/bios-lenovo-thinkserver-ts140' + +pre_remove() { + rm -f "${_folder}/OLDROM.ROM" +} + +post_install() { + echo 'To upgrade your BIOS' + echo " cd '${_folder}'" + echo ' sudo ./Linux.sh' + echo + echo 'Warning: This reboots your server immediately for the BIOS to perform the upgrade.' + echo 'Do NOT run during production!' + echo 'In some cases the BIOS halts at a checksum error so this should not be done' + echo 'without physical access or equivalent to the machine.' + echo + echo 'To test compatibility without rebooting try reading the rom:' + echo " cd '${_folder}'" + echo ' sudo ./romtest.sh' + pre_remove +} + +post_upgrade() { + post_install +} + |