这就是我所做的。
apt-get install nut
nano /etc/nut/ups.conf
我将其粘贴在底部
[eaton-5sc]
driver = usbhid-ups
port = auto
我启动了
upsdrvctl start
然后我收到了这个回复
Network UPS Tools - UPS driver controller 2.7.4
Network UPS Tools - Generic HID driver 0.41 (2.7.4)
USB communication driver 0.33
Using subdriver: MGE HID 1.40
如果断电,我该如何让 UPS 关闭我的服务器?