2 more Q's about 386/ix
Conor P. Cahill
cpcahil at virtech.uucp
Thu Dec 21 11:43:50 AEST 1989
In article <1989Dec20.201930.572 at esegue.segue.boston.ma.us>, johnl at esegue.segue.boston.ma.us (John R. Levine) writes:
> In article <1989Dec19.002805.3039 at virtech.uucp> cpcahil at virtech.uucp (Conor P. Cahill) writes:
> >> >Is it possible to run shutdown from anything other than the console VT?
> >> - /etc/init 0 [ as superuser ]
> >This does not work for 386/ix.
>
> On 386/ix 2.0.x, at least, it works from any terminal. I just tried it
> now. You can use init 0 to shut down or init 5 or init 6 to reboot. Very
> handy when you're dialed in to your home machine from work or vice versa.
In 386/ix 2.0.2, init 0, when run on a terminal other than the console, echos:
Can only invoke init 0 from the console
However, "init 0 < /dev/console" does have the desired effect.
--
+-----------------------------------------------------------------------+
| Conor P. Cahill uunet!virtech!cpcahil 703-430-9247 !
| Virtual Technologies Inc., P. O. Box 876, Sterling, VA 22170 |
+-----------------------------------------------------------------------+
More information about the Comp.unix.i386
mailing list