OK, first the good news: My UPS software is working,
starts up at boot, and shuts down my system in an
orderly manner after a power outage. :-)
Now, the explanations.
The UPS itself is called PRV900Pro and is sold in Israel byhttp://www.advicepower.com/
(Sorry, I could not find an English URL for the device, I
bought it from BUG at http://www.bug.co.il/fpage.asp?brand=0&ser=%E0%EC+%F4%F1%F7
It came with a software CD that had a Linux directory.
In that directory was one .bin file, which I ran to unzip
a set of files, including the script I mentioned before, "ViewPower".
Running that script as root
) would add an icon to the system tray,
and the icon's menu would cause a browser tab to open at localhost:nnnnn,
(I forget the port #) to monitor the UPS and control its functions.
After watching the video suggested by ternor
, I added "ViewPower &"
to rc.local, but this did not help. I did not get the tray icon, and the
browser did not show anything. I also tried running it from my own
user, so that I could add it to my startup, but that failed completely.
Then I found that on the web page of the ViewPower packagehttp://www.power-software-download.com/viewpower.html
there is a text mode
package, and I decided to try that.
I got another .bin file (http://www.power-software-download.com/viewpower/installViewPower_Linux_text_i386.tar.gz
and went through the same steps as with the first package,
but this time it added the line to rc.local by itself, and it works!
So, I am very happy to no longer have to be afraid of storms :-)