Hello everyone,
I have a confession to make. I have been using this below script to integrate Lansafe into sme server since the early days. I never thought anyone would want it, but now I need people to be aware of it, so someone can help me rewrite the integration script for system V (or, at least, point me in the right direction).
So here goes:
install the LS_603_linux_el4 version of Lansafe.
the software may, or may not initiate a 'beep' from the ups.
after installation, you should have an ls.init, available in the service list, 'ps -gauxww |grep ls.init or
ps -gauxww |grep PowerMonitor
/sbin/e-smith/db configuration set ls.init service
/sbin/e-smith/db configuration setprop ls.init status enabled
ln -s /etc/rc.d/init.d/ls.init /etc.rc.d/rc7.d/S92PowerMonitor
ls -la /etc/rc.d/rc7.d [to make sure the link file is in there]
Now I'm not a coder. Never really got into it, and the stuff in the 'code' box I've nicked from somewhere else (just the names have been changed). But, by golly, it actually worked.
But this new systemV stuff, has me completely bamboozled. Can anyone assist?
In addition to this, Lansafe is now obsolete, the new software is called ipp "Eaton Intelligent Power Protector" and is only available as an .rpm file, whereas lansafe came with its own install.sh script.
Initially I'd need help getting Lansafe going on systemV as I am still running the older ups' Sola520 2200VA and Powerware 5130, and Lansafe works with both of these ups'.
Edit: forgot about a pre-existing signature.