Fix case statements to match new help text
This commit is contained in:
parent
91c03fec6d
commit
6e2283f8d6
4
bmc.sh
4
bmc.sh
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue