Run levels 5 & 6 (Re: AT&T 386 UNIX reboot)

Michael "Ford" Ditto ditto at cbmvax.UUCP
Mon Nov 28 23:16:55 AEST 1988


In article <263 at ssbn.WLK.COM> bill at ssbn.WLK.COM (Bill Kennedy) writes:
>In article <5284 at cbmvax.UUCP>, ditto at 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 at kenobi.cts.com
- The Unix Programmer's Manual,		...!sdcsvax!crash!elgar!ford
  2nd Edition, June, 1972.		ditto at cbmvax.commodore.com



More information about the Comp.sys.att mailing list