[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-knoppix] More control while shutting down KNOPPIX

On Mon, Nov 04, 2002 at 02:21:45AM +0100, Klaus Knopper wrote:
> On Sat, Nov 02, 2002 at 11:51:16AM +0100, Marc Haber wrote:
> > /etc/init.d/knoppix-reboot looks like it has been written to support
> > this. It looks like if I set the NOEJECT to a nonempty value, the CD
> > is not ejected. But I didn't find code that asks for <ENTER> to be
> > pressed before reboot. This is probably in the patched /sbin/init from
> > the knoppix distribution.
> Boot with the "noeject" option. This is documented in the
> knoppix-cheatcodes.txt.

Is there a possibility to set this after booting? People booting the
systems are usually non-knowledgeable and I would prefer if the only
needed to drop in the CD.

> >   - If NOWAITENTER read in from /etc/default/knoppix-reboot, call init
> >     on shutdown with the parameter preventing the wait.
> If /cdrom or /KNOPPIX are not mounted, init will not ask for a key
> to be pressed, just like in the installed version. Please have a look
> into the source code.

Where is the source code for the knoppix init?

> You can still exchange init with your own version
> (which will probably be unable to eject the CD, on the other hand), or
> don't call init at all and do an immediate reboot instead, by invoking
> the appropriate system call.

*yuck* ;)


Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Karlsruhe, Germany |  lose things."    Winona Ryder | Fon: *49 721 966 32 15
Nordisch by Nature |  How to make an American Quilt | Fax: *49 721 966 31 29
debian-knoppix mailing list

Reply to: