forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
8 lines
514 B
Text
8 lines
514 B
Text
mgeupsd is a daemon process that sits in the background and check
|
|
state of the UPS every 10 (by default) seconds. As soon as mgeupsd
|
|
senses that the power is failing it notifies init(8) and init will
|
|
execute the powerwait and powerfail entries. If mgeupsd senses that
|
|
the power has been restored, it notifies init again and init will exe-
|
|
cute the powerokwait entries. If mgeupsd senses that the UPS batteries
|
|
has less than 20% of its energy it notifies init again and init will
|
|
execute the powerfailnow entries.
|