Path: utzoo!attcan!uunet!cbmvax!ditto
From: ditto@cbmvax.UUCP (Michael "Ford" Ditto)
Newsgroups: comp.sys.att
Subject: Re: Run levels 5 & 6 (Re: AT&T 386 UNIX reboot)
Summary: invoke /etc/rc0 from /etc/inittab
Keywords: shutdown init reboot
Message-ID: <5326@cbmvax.UUCP>
Date: 28 Nov 88 13:16:55 GMT
References: <254@ssbn.WLK.COM> <5284@cbmvax.UUCP> <263@ssbn.WLK.COM>
Reply-To: ditto@cbmvax.UUCP (Michael "Ford" Ditto)
Organization: Commodore Technology, West Chester, PA
Lines: 22

In article <263@ssbn.WLK.COM> bill@ssbn.WLK.COM (Bill Kennedy) writes:
>In article <5284@cbmvax.UUCP>, ditto@cbmvax.UUCP (Michael "Ford" Ditto) writes:
>> Here's what I did:  Append the following to /etc/rc0:
 [ ... ]
>> Now, "shutdown -i5" will halt the machine and "shutdown -i6" will reboot it;
 [ ... ]
>
>But only if you get to /etc/rc0.  It appears that init is the culprit.

Make sure /etc/inittab has something like:

	rc0:056:once:/etc/rc0 < /dev/console > /dev/console 2>&1

(The above line is off the top of my head; I'm not on a SysVr3 at the moment).

-- 
					-=] Ford [=-

"The number of Unix installations	(In Real Life:  Mike Ditto)
has grown to 10, with more expected."	ford@kenobi.cts.com
- The Unix Programmer's Manual,		...!sdcsvax!crash!elgar!ford
  2nd Edition, June, 1972.		ditto@cbmvax.commodore.com