Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!van-bc!sl From: sl@van-bc.UUCP (Stuart Lynne) Newsgroups: comp.unix.xenix Subject: Re: Can I autoboot my xenix application? Keywords: sco xenix Message-ID: <267@van-bc.UUCP> Date: 21 Mar 90 20:03:21 GMT References: <260@tnl.UUCP> <1990Mar21.144035.19295@comm.WANG.COM> Reply-To: sl@van-bc.UUCP (Stuart Lynne) Distribution: usa Organization: Wimsey Associates Lines: 39 In article <1990Mar21.144035.19295@comm.WANG.COM> joer@comm.WANG.COM (Joe Reinhardt) writes: >neverisk@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 is not received after a certain amount of time (like 60 seconds?) >the system boots up automatically. No need to enter the 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 . If you *really* do want to go into maintenance mode just enter: xenix 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 <