home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
misc
/
volume18
/
upsd
/
part01
/
ups
< prev
Wrap
Text File
|
1991-04-10
|
296b
|
15 lines
#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