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
|
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"
|
||||||
|
|
Loading…
Reference in New Issue