Can I autoboot my xenix application?
Stuart Lynne
sl at van-bc.UUCP
Thu Mar 22 06:03:21 AEST 1990
In article <1990Mar21.144035.19295 at comm.WANG.COM> joer at comm.WANG.COM (Joe Reinhardt) writes:
>neverisk at tnl.UUCP (neverisky michael) writes:
>
>>I have an SCO Xenix 2.3.2 application which I would like to autoboot
>>at power up. However, it seems that before I ever get a chance to
>>run any shell script I must 1) type RETURN at the boot: prompt 2) enter
>>su password or Ctl-D for normal startup and 3) confirm the date! Can
>>all this nonsense be cicumvented?
>
>I believe that Xenix will "autoboot" -- when the "boot:" prompt comes up
>and a <CR> is not received after a certain amount of time (like 60 seconds?)
>the system boots up automatically. No need to enter the <CTRL-D> or the
>time.
If it times out at the boot: prompt Xenix will add the string "auto" to the
string contained in "DEFBOOTSTR" from /etc/default/boot. This tells the
startup routines that the system is in "auto-boot" mode and not to prompt
for the system maintenance mode.
I also put "auto" into DEFBOOTSTR in /etc/default/boot:
DEFBOOTSTR=hd(40)xenix auto
This tells Xenix to boot directly to multi-user mode without prompting for
maintenance mode when you hit <cr>. If you *really* do want to go into
maintenance mode just enter:
xenix <cr>
You can also do the following to eliminate the annoying call to asktime in
/etc/rc.d/0/sysinit:
# set system clock
eval /etc/asktime $AUTOFLAG $AUTOBOOT <<EOF
EOF
echo
--
Stuart.Lynne at wimsey.bc.ca ubc-cs!van-bc!sl 604-937-7532(voice) 604-939-4768(fax)
More information about the Comp.unix.xenix
mailing list