Date: Wed, 15 Nov 2006 20:26:33 +0100 From: "Pietro Cerutti" <pietro.cerutti@gmail.com> To: Ingo <ingom-list@freenet.de>, "FreeBSD Questions" <freebsd-questions@freebsd.org>, freebsd-stable@freebsd.org Subject: Re: rc.subr modification: testing and feedback are welcome! Message-ID: <e572718c0611151126h738fe742g28f0bf7124d38030@mail.gmail.com> In-Reply-To: <op.ti2lg4ha7fdgru@medion-8800> References: <e572718c0611150531r4a88b253ib27331f4729af16a@mail.gmail.com> <op.ti2lg4ha7fdgru@medion-8800>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/15/06, Ingo <ingom-list@freenet.de> wrote: > > Hello, Hello, > There should be an tiemout so that the system boots even if I forget to > choose Yup, great idea. The new patch [attached] permits you to set: DAEMON_ask_timeout={0-9}[s|m|h] and DAEMON_ask_default=[yes|no] in rc.conf Default values have been put in rc.subr ("5s" and "yes") > > It should also be possible to use the short form [y/n] while booting in > addition to yes/no to start the deamon, This could be done, but at the moment I rely on the checkyesno subroutine in rc.subr, which only accepts [yes, true, on, 1] and [no, false, off, 0] in any combination of upper and lower case. > > greetings > Thanks for input, regards -- Pietro Cerutti ICQ: 117293691 PGP: 0x9571F78E - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e572718c0611151126h738fe742g28f0bf7124d38030>