ACC SHELL

Path : /usr/share/doc/packages/sysvinit-tools/
File Upload :
Current File : //usr/share/doc/packages/sysvinit-tools/powerd.conf.monitor

# This is a comment
#
# This makes powerd monitor a UPS, and be able to notify other machines on 
# the network
MODE monitor
#
# This specifies which device to monitor
MONITOR /dev/ttyS0
#
# What line configuration tells us when the power is out? Lines that you 
# can use: CAR CTS RNG DSR    and you may speicify either LOW or HIGH
# You get this line by running the included detectups program.
POWERFAIL CTS LOW
#
# Let me clarify that last part, as it is one of the most important 
# things, and requires you to know your UPS and cable configurations.
# Great news. You can now use the included detectups program to determine 
# this line of the config file. It will test your UPS and will tell you 
# what lines changed, and what to  put here - you can use that to fill in 
# that needed data for the POWERFAIL line of the configuration
#
#
# This specifies how long before the power actually goes out, and init 
# gets notified and starts the delayed shutdown. Default 16 seconds.
# NOTE: This is not how much time will elapse until the system actually 
# shuts down, as that is configured in /etc/inittab.
DELAY 16
#
# And here are the machines to notify, we can specify the host as: 
#    hostname password
# or hostname:port password
#
# this one shall use the default port
NOTIFY Mymachine.mydomain.com MySecretPassword
# this one shall use port 732
NOTIFY othermachine.onmynetwork.com:732 Anotherpassword
#
# This specifies which user to drop to from root
# This is simply for added security and not needed for powerd to operate
# Currently commented out, Feel free to use it if you wish.
#USER uucp


ACC SHELL 2018