Displaying 1 result from an estimated 1 matches for "haltuser".
2011 Mar 07
1
Initialising UPS variables from ups.conf
...The reason I ask is that I'm using FreeBSD & gmirror and need to extend
the gracetime for the system to shutdown. For the moment, I've created a
custom shutdown script that is set in upsmon.conf that does the job.
#!/usr/local/bin/bash
/usr/local/bin/upsrw -s ups.delay.start=130 -u haltuser -p somepassword
evo_s_3000
/usr/local/bin/upsrw -s ups.delay.shutdown=120 -u haltuser -p
somepassword evo_s_3000
/sbin/shutdown -h +0
Thanks,
John