This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/* | |
Automatic low-speed fan control for Dell PowerEdge systems via IPMI | |
https://gist.github.com/CaptainVascular/4c5ba83a455f277b86d36f7639a32eb9 | |
MIT License | |
Tested on R710 only | |
Requires nodejs, lm_sensors, ipmitool, freeipmi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Should work with your favorite hash algorithm (md5sum, sha256sum, etc.) | |
hash=md5sum | |
old="$($hash PKGBUILD)" | |
wget -O PKGBUILD https://protonmail.com/download/beta/PKGBUILD | |
new="$($hash PKGBUILD)" | |
[ "$old" = "$new" ] && echo "Up to date." || makepkg -si |