Skip to content

Instantly share code, notes, and snippets.

View smagoun's full-sized avatar

Steve Magoun smagoun

View GitHub Profile
@smagoun
smagoun / nut_osx.txt
Last active May 25, 2023 04:27 — forked from 2b/nut_osx.txt
Network UPS Tools on OS X Catalina for Synology client
# 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/