Re: rc.subr modification: testing and feedback are welcome!
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 You should probably consider discussing this on the freebsd-rc@ list as well. Doug - -- This .signature sanitized for your protection -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.0 (FreeBSD) iD8DBQFFW2uTyIakK9Wy8PsRAl9sAKD9CjyPJewi4EoZMvs7WQGlCNxT4gCeJ8GY gQSYCA80amd3kJCQ0S11gv0= =UVOj -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: rc.subr modification: testing and feedback are welcome! [here's the patch]
Ouch... here's the patch ;-) On 11/15/06, Pietro Cerutti <[EMAIL PROTECTED]> wrote: On 11/15/06, Ingo <[EMAIL PROTECTED]> 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 -- Pietro Cerutti ICQ: 117293691 PGP: 0x9571F78E - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org rc.subr.diff Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: rc.subr modification: testing and feedback are welcome!
On 11/15/06, Ingo <[EMAIL PROTECTED]> 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: rc.subr modification: testing and feedback are welcome!
On Wednesday November 15, 2006 at 12:32:56 (PM) Pietro Cerutti wrote: > Hello List, > I did a patch to allow rc.conf DAEMON_enable values to be decided at startup. > > 1) set apache_start="ask" in rc.conf > 2) at boot, you'll be prompted with "RC_ASK - Enable apache? [yes|no] " > 3) the daemon is started depending on the decision > 4) the decision is stored until the next boot, so that rc.shutdown can > decide whether to call stop for a particular daemon or not > > See: > http://www.freebsd.org/cgi/query-pr.cgi?pr=105568 > for more information and to download the patch I have been looking for something to supply exactly that sort of flexibility for quite some time now. I will be installing it forthwith. -- Gerard Mail from '@gmail' is rejected and/or discarded here. Don't waste your time! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
rc.subr modification: testing and feedback are welcome!
Hello List, I did a patch to allow rc.conf DAEMON_enable values to be decided at startup. 1) set apache_start="ask" in rc.conf 2) at boot, you'll be prompted with "RC_ASK - Enable apache? [yes|no] " 3) the daemon is started depending on the decision 4) the decision is stored until the next boot, so that rc.shutdown can decide whether to call stop for a particular daemon or not See: http://www.freebsd.org/cgi/query-pr.cgi?pr=105568 for more information and to download the patch Thanx! -- Pietro Cerutti ICQ: 117293691 PGP: 0x9571F78E - ASCII Ribbon Campaign - against HTML e-mail and proprietary attachments www.asciiribbon.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"