Fix powersw functions to match their names

This commit is contained in:
Joshua Boniface 2017-03-31 05:04:50 +00:00
parent f20a9ca37b
commit 0ddb346bfb
1 changed files with 4 additions and 4 deletions

8
bmc.sh
View File

@ -58,13 +58,13 @@ resetsw_press() {
echo "resetsw_press" > ${bmcd_cmdpipe} echo "resetsw_press" > ${bmcd_cmdpipe}
} }
powersw_press() { powersw_press() {
echo "Holding power switch." echo "Pressing power switch."
echo "powersw_hold" > ${bmcd_cmdpipe} echo "powersw_press" > ${bmcd_cmdpipe}
sleep 2 sleep 2
} }
powersw_hold() { powersw_hold() {
echo "Pressing power switch." echo "Holding power switch."
echo "powersw_press" > ${bmcd_cmdpipe} echo "powersw_hold" > ${bmcd_cmdpipe}
sleep 2 sleep 2
} }
locate_on() { locate_on() {