home *** CD-ROM | disk | FTP | other *** search
- #ident "@(#)ups 1.0 - 91/03/30"
- # UPS monitor daemon
-
- # configure UPS daemon runtime
- export UPSPORT; UPSPORT=/dev/ttyFM00
- export UPSSHUT; UPSSHUT="/etc/shutdown -y -i0"
- export UPSLOG; UPSLOG=/etc/upslog
- export UPSTIME; UPSTIME=10
-
- set `who -r`
- if [ $9 = "S" -a -x /etc/upsd ]
- then
- /etc/upsd
- fi
-