Added ipmi control scripts
This commit is contained in:
parent
1627d59a24
commit
78dc41b64a
4 changed files with 41 additions and 0 deletions
22
home/Scripts/ipmi-static.sh
Executable file
22
home/Scripts/ipmi-static.sh
Executable file
|
@ -0,0 +1,22 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# ----------------------------------------------------------------------------------
|
||||
# Script for setting manual fan speed to 2160 RPM (on my R710)
|
||||
#
|
||||
# Requires:
|
||||
# ipmitool – apt-get install ipmitool
|
||||
# slacktee.sh – https://github.com/course-hero/slacktee
|
||||
# ----------------------------------------------------------------------------------
|
||||
|
||||
|
||||
# IPMI SETTINGS:
|
||||
# Modify to suit your needs.
|
||||
# DEFAULT IP: 192.168.0.120
|
||||
IPMIHOST=10.0.0.174
|
||||
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
|
||||
ipmitool -I lanplus -H $IPMIHOST -U $IPMIUSER -P $IPMIPW -y $IPMIEK raw 0x30 0x30 0x02 0xff 0x09
|
Loading…
Add table
Add a link
Reference in a new issue