search for: ipfire2

Displaying 2 results from an estimated 2 matches for "ipfire2".

Did you mean: ipfire
2023 Jan 12
1
NUT & UPS, how to shut down client after 2 min on battery?
...;; *) logger -t upsmon[upssched] "*) = Unrecognized command: $1" ;; esac And in /etc/nut/ups.conf [qnapups] driver = usbhid-ups port = auto desc = "UPS" ignorelb override.battery.charge.low=50 So I have these files [root at ipfire2 nut]# pwd /etc/nut [root at ipfire2 nut]# ls -la total 104 drwxr-xr-x 2 root root 4096 Jan 10 09:23 . drwxr-xr-x 50 root root 4096 Jan 10 10:33 .. -rw-r--r-- 1 root root 1542 Jan 10 09:05 nut.conf -rw-r--r-- 1 root root 1538 Dec 18 2020 nut.conf.sample -rw-r--r-- 1 root root 4734 Jan 10 0...
2022 Dec 22
3
NUT & UPS, how to shut down client after 2 min on battery?
Hi! Some systems I have take some time to shut down, so I would like them to shut down if the UPS have been on battery for 2 minutes. Internet has told me that SHUTDOWNCMD ?/sbin/shutdown -h +0? in /etc/nut/upsmon.conf will execute when the UPS is both OB (on battery) and LB (Low battery). Like in wiki.ipfire.org - Detailed NUT Configuration<https://wiki.ipfire.org/addons/nut/detailed>