Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uwm.edu!bionet!agate!ucbvax!bloom-beacon!eru!hagbard!sunic!dkuug!ideal!mds From: mds@iddth.id.dk (Impedantzer (EMP)) Newsgroups: comp.unix.admin Subject: Powerfailure daemon ??? (Help/inspiration needed) Message-ID: Date: 11 Apr 91 12:41:35 GMT Sender: news@ideal.id.dk (Nick Sandru (news adm)) Organization: Dept. of Computer Science Lines: 26 Nntp-Posting-Host: iddth2 I am posting this request for help/inspiration on behalf of a friend of mine with no connection to the network community. He is working in a company where they use a HP 375 Unix box for datalogging. It is vital that the machine is shut down in a controlled manner (i.e. closing all open files, etc.) in case of a powerfailure. For that reason they have an UPS powersupply capable of keeping til machine going fore an hour or so. Well, so much for the background story. Here comes the interesting part: they have the UPS but they *don't* have the daemon to shut down the machine. Are there anybody out there with a similar system willing to share his/her knowledge with my friend? Perhaps a sample program og something like that. The general idea is that the daemon reacts on an interrupt from the UPS. -- Michael PS. We don't have a system like the above mentioned here at the Dep. of CS, so when the power goes it's gone!! _________________________________________________________________________ Michael Dantzer-Sorensen e-mail: mds@id.dth.dk Department of Computer Science Tel. +45 45 93 12 22 ext. 3761 Building 344 & 345 Fax. +45 42 88 45 30 Technical University of Denmark DK-2800 Lyngby _________________________________________________________________________