From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6c2d81d466201e2,start X-Google-Attributes: gidfee84,public From: dpinson@materials.unsw.edu.au (David Pinson) Subject: Setting up a UPS Date: 1997/01/29 Message-ID: <5cmpbh$d3k$1@mirv.unsw.edu.au>#1/1 X-Deja-AN: 212923336 organization: University of New South Wales newsgroups: comp.unix.osf.osf1 I am having some problems setting up a UPS for a alpha system (OSF1 3.2g) Using a daemon to catch the power failure signals from the ups (backupsd.c) I find that everything goes according to plan, BUT init never responds to SIGPWR. I checked in signal.h and it notes that SIGPWR is /* * additional signal names supplied for compatability, only */ #define SIGPWR SIGINFO /* Power Fail/Restart -- SVID3/SVR4 */ When I investigate siginfo.h it has no reference to SIGPWR and the man file makes no refernece to it either. BUT if you look at the man file for inittab, it says that "powerfail" and "powerwait" are the actions specified for when init recieves a SIGPWR signal. NOW since when I try to test init by sending it SIGPWR manually it does nothing. This suggests behaviour consistent with the signal.h #define above. What I really want to know is: 1. is this a 3.2 problem fixed in dunix4? 2. can it be fixed? 3. Why do these things always take sooooo long? Any ideas or suggestions will be very welcome. Thanks Dave -- David Pinson dpinson@t-rex.materials.unsw.edu.au School of Materials Science and Engineering University of New South Wales, Australia