Last change
on this file since 1477 was 1436, checked in by Bruno Cornec, 13 years ago |
- Upload the 0.9.6 version of the PUSK (ProLiant USB Setup Key)
|
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
File size:
584 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | #
|
---|
3 | # This script applies firmware updates.
|
---|
4 | # The binaries are located on the USB key in "fw" directory
|
---|
5 | #
|
---|
6 | # October 2011
|
---|
7 |
|
---|
8 | clear
|
---|
9 | echo "*** Apply Firmware Updates ***"
|
---|
10 |
|
---|
11 | [ -f /ssstk/ssstk-functions ] && . /ssstk/ssstk-functions
|
---|
12 |
|
---|
13 | # Load the drivers and mount the USB key where the settings will be saved
|
---|
14 | ssstk_init
|
---|
15 |
|
---|
16 | echo "Starting Firmware Upgrade..."
|
---|
17 |
|
---|
18 | for f in "${TMPDIR}/fw_files/"*.scexe; do
|
---|
19 | chmod 755 $f
|
---|
20 | $f -s
|
---|
21 | if [ $? -eq 0 ] ; then
|
---|
22 | echo "Firmware $f APPLIED"
|
---|
23 | else
|
---|
24 | echo "Firmware $f NOT applied"
|
---|
25 | fi
|
---|
26 | done
|
---|
27 |
|
---|
28 | # Copy the log files if any and unmount the key
|
---|
29 | ssstk_stop
|
---|
Note:
See
TracBrowser
for help on using the repository browser.