Hi all,

I am planning on writing a poweroff script that automatically checks to see
if the system is running on UPS and if so then attempts a shutdown
immediately.
I got this idea,thanks to very reliable power supply in our area. ;-)
I have an UPS that gives me a backup of 15mins ,and more often than not,my
computer runs all through the night.

Now I am not sure if there is already such a script or service that is
running and its only a matter of enabling it to reap the benefits..
But if not they i want to give it a try..

On this regard ,i have a few queries..
I dont know which script actually has all the power info in it.
So i wanted to know where i need to look  for these informations  and
perhaps extract from it to see if its running on UPS then do the rest..

I would like to give this a try myself ,so can you please let me know how i
need to proceed?

Regards
Shampavman
blogs.sun.com/sham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/ug-bosug/attachments/20080618/db1dd46b/attachment.html>

Reply via email to