foodotfiles/scripts/ipmi/static.sh

11 lines
382 B
Bash
Raw Normal View History

2020-02-13 23:11:23 +00:00
#!/usr/bin/env bash
IPMIHOST=10.0.0.82
2020-02-13 23:11:23 +00:00
IPMIUSER=ReekyMarko
IPMIPW={{@@ env['PASS_IPMI'] @@}}
IPMIEK=0000000000000000000000000000000000000000
printf "Activating manual fan speeds! (2160 RPM)"
ipmitool -I lanplus -H $IPMIHOST -U $IPMIUSER -P $IPMIPW -y $IPMIEK raw 0x30 0x30 0x01 0x00
2020-03-03 14:54:47 +00:00
ipmitool -I lanplus -H $IPMIHOST -U $IPMIUSER -P $IPMIPW -y $IPMIEK raw 0x30 0x30 0x02 0xff 0x10