1 # Example configuration for power daemon.
2 # NOTE: this is not implemented yet, just a design.
4 # @(#) powerd.cfg 1.01 01-Oct-1994 MvS
7 # This is the setup section. It sets up the default line
8 # signals that your UPS likes to see.
15 # Now: how to tell UPS to turn off the power.
20 # How to monitor the UPS, or a remote UPS.
21 # Possible line signals: dcd cts dsr ring
23 # Comment out the parts you don't want.
25 # All of this (1, 2, 3) can be combined.
28 # First, do we want to broadcast the UPS status
29 # on ethernet when something happens?
30 # Comment out to disable.
31 # Syntax: address, portnumber
32 # address: broadcast adress on ethernet
33 # portnumber: unused priviliged port (under 1024)
34 broadcast = 10.0.33.255,15
36 # monitor type 1. This tells powerd to monitor line signals.
41 # Monitor type 2. Tell powerd to look for data.
45 # Monitor type 3. Listen to the ethernet.
47 # Warn_host is the hostname of the system with the UPS
48 # This is for security, so that someone on a DOS box
49 # can't spoof the powerd broadcast. The number after it
50 # is the portnumber to listen to (see above: broadcast).
52 # Note: if the broadcast address set above is enabled
53 # and we receive a message from a remote powerd, we check
54 # the received broadcast address. If this is the same
55 # as from the broadcast we just received,
56 # it will not be repeated (guess why).