Fix powersw functions to match their names
This commit is contained in:
parent
f20a9ca37b
commit
0ddb346bfb
8
bmc.sh
8
bmc.sh
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue