Brian Utterback writes: > I have a customer that is installing a UPS on there system. The > installation instructions (written prior to Solaris 10) to insert some > lines into /sbin/rc0 near the end which tell the UPS to cut the power.
Ew! That was never right, even before S10. /sbin/rc0 was delivered as a type 'f' file in packaging. It's not an administrative interface, and the contents can be overwritten without warning or recourse by system upgrade or patching. > The problem is that on Solaris 10, the rc0 script isn't run at > shutdown, only startup. Is there a hook or script or method or > something that will allow the customer to run the necessary commands > at or near the end of a system shutdown? /etc/rc0.d/K99ups, maybe? -- James Carlson, Solaris Networking <james.d.carlson at sun.com> Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677