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}
}
powersw_press() {
echo "Holding power switch."
echo "powersw_hold" > ${bmcd_cmdpipe}
echo "Pressing power switch."
echo "powersw_press" > ${bmcd_cmdpipe}
sleep 2
}
powersw_hold() {
echo "Pressing power switch."
echo "powersw_press" > ${bmcd_cmdpipe}
echo "Holding power switch."
echo "powersw_hold" > ${bmcd_cmdpipe}
sleep 2
}
locate_on() {