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
| # Tested with nut 2.7.4_2 from homebrew | |
| # Configure OSX Energy Saver UPS tab for the UPS | |
| #install homebrew | |
| ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| #install network ups tools | |
| brew install nut | |
| # Set permissions on state dirs to allow running as daemon | |
| sudo mkdir -p /usr/local/var/state/ups/ |