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
echo
;;
'powersw')
'power')
powersw_press
readpower
echo -e "Host state: $powerstate"
echo
;;
'resetsw')
'reset')
resetsw_press
readpower
echo -e "Host state: $powerstate"