Fix case statements to match new help text

This commit is contained in:
Joshua Boniface 2017-03-31 04:45:49 +00:00
parent 91c03fec6d
commit 6e2283f8d6
1 changed files with 2 additions and 2 deletions

4
bmc.sh
View File

@ -114,13 +114,13 @@ case $input in
pgrep screen &>/dev/null || sudo screen -S serialconsole /dev/ttyUSB0 115200 pgrep screen &>/dev/null || sudo screen -S serialconsole /dev/ttyUSB0 115200
echo echo
;; ;;
'powersw') 'power')
powersw_press powersw_press
readpower readpower
echo -e "Host state: $powerstate" echo -e "Host state: $powerstate"
echo echo
;; ;;
'resetsw') 'reset')
resetsw_press resetsw_press
readpower readpower
echo -e "Host state: $powerstate" echo -e "Host state: $powerstate"