Rebooting Sys V/386

Thomas Hoberg tmh at prosun.first.gmd.de
Thu Mar 28 10:01:13 AEST 1991


In article <419 at srs.UUCP>, dlucy at srs.UUCP (Doug Lucy) writes:
|> Is there a way to force a sys V/386 3.2 system to reboot?
|> I need to cause a reboot from a remote login after changing
|> the kernel with idbuild. Is there a way to do this with
|> just shutdown? Can it be done with a call to reset the system?
|> 
/etc/uadmin won't help there, because it only works from the console. However
the system call should work. It takes two arguments (command + function), which
are defined in /usr/include/sys/uadmin.h. Not having the documentation at hand
I guess it should be uadmin(A_SHUTDOWN, AD_BOOT) for you.
Should the new kernel and configuration fail to reach init level 3, you are out
in the cold, but I guess you know that...

-- tom
----
Thomas M. Hoberg   | UUCP: tmh at bigfoot.first.gmd.de  or  tmh%gmdtub at tub.UUCP
c/o GMD Berlin     |       ...!unido!tub!gmdtub!tmh (Europe) or
D-1000 Berlin 12   |       ...!unido!tub!tmh
Hardenbergplatz 2  |       ...!pyramid!tub!tmh (World)
Germany            | BITNET: tmh%DB0TUI6.BITNET at DB0TUI11 or
+49-30-254 99 160  |         tmh at tub.BITNET



More information about the Comp.unix.sysv386 mailing list