Peço a ajuda do programadore e quem conhece scripts
Tenho um No break Profissional e pretendo usa-lo em um servidor com Linux (Slack 9.1)
O desenvolvedo do software envou um arquivo contendo um pacote em tar.gz, descompactei o pacote,mas não estou sabendo com procedera instalação.
root@serv1linux:/usr# tar -zxvf ups.tar.gz
ups/
ups/Makefile
ups/rc.upsd_fail
ups/rc.upsd_good
ups/rc.upsd_low
ups/upsd.c
ups/ups.lsm
ups/README
ups/rc.fail_test
ups/upsd
ups/rc.low_test
ups/rc.good_test
ups/COPYING
Vejam o que está escrito no README
How to use:
* Check the Makefile (where to install etc..)
* do a "make"
* type upsd for a usage message:
Make yourself a cable according to the usage message
* connect the cable to the ups status (dry contact/dry relay) port
and to the serial port of the computer
* do not connect the computer's power input to the ups yet
* do a "make test", uplug the ups and see that everything works.
* try a "upsd shutdown"
(most Powerbox UPSs have an undocumneted delay here,
wait 2 minutes before you examine your cable.)
* examine the scripts and change them to suit your system
* if everything seems OK, do a "make install"
* edit your startup and shutdown scripts
- /etc/rc.d/rc.local and /etc/rc.d/rc.6 on slackware 3.0
- insert a line to start upsd in your startup script
- insert a line to remove /etc/power_is_failing in your startup script
- insert a line to turn off the UPS in your shutdown script
upsd is writen to be very flexible:
- You can change the scripts to do almost anything.
- You can change the pinouts and levels as "#define"s in upsd.c
Quem puder ajudar agradeço
jgama
Ubbergeek
Registrado
7.2K Mensagens
66 Curtidas
Instalando programa para usar no break
#1 Por jgama
06/04/2004 - 20:40