what powers off, in 'init 5'?

what powers off, in 'init 5'?

Post by chad schroc » Mon, 15 May 2000 04:00:00



See uadmin(2)

(And also <sys/uadmin.h>)

chad


> I'm looking to duplicate 'init 5' functionality on solaris x86.
> I figure I'll have to write a driver to support motherboard
> poweroff.

> But I'm starting by looking through the rc scripts on sparc,
> to see what I
> should write hooks for.

> Except it seems to be magic.

> inittab says it uses "rc5".

> but  /sbin/rc5 is IDENTICAL to /sbin/rc6, even on sparc.

> So.. what triggers actual poweroff?

--
chad at radix dot net
 
 
 

what powers off, in 'init 5'?

Post by Philip Bro » Tue, 16 May 2000 04:00:00



>See uadmin(2)

To expand on what someone sent me in email... what you probably meant to
say, is

"/etc/inittab calls 'uadmin 2 6', as well as rc5, if you use 'init 5'"

--
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]

The word of the day is mispergitude

 
 
 

1. what powers off, in 'init 5'?

I'm looking to duplicate 'init 5' functionality on solaris x86.
I figure I'll have to write a driver to support motherboard poweroff.

But I'm starting by looking through the rc scripts on sparc, to see what I
should write hooks for.

Except it seems to be magic.

inittab says it uses "rc5".

but  /sbin/rc5 is IDENTICAL to /sbin/rc6, even on sparc.

So.. what triggers actual poweroff?

--
[Trim the no-bots from my address to reply to me by email!]
[ Do NOT email-CC me on posts. Pick one or the other.]

The word of the day is mispergitude

2. Help !! To add more harddisk in A1000 !!!

3. can't recover "fsck" after power off without "init 0"

4. PPP (and modem) setup: help !

5. help --- can't recover "fsck" after power off without "init 0"

6. Lite version on powerbook G3 - installation need help

7. acpi won't power off 'puter

8. Summary to Unix performance mgt. question

9. LinuxPPC99: 'INIT: ld ''x'' respawning too fast...'??

10. What's 'side effects' of Ksh built-ins?

11. very long timeouts on 'nfs' or 'amd' init during boots

12. source code for 'init' and 'login'?

13. 'init 6' and 'killall' on sun-solaris.