From 0ddb346bfba0f3d55e3ccb8de40e787827f4713b Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 31 Mar 2017 05:04:50 +0000 Subject: [PATCH] Fix powersw functions to match their names --- bmc.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bmc.sh b/bmc.sh index ad0a57b..a06dd6a 100755 --- a/bmc.sh +++ b/bmc.sh @@ -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() {