Date: Fri, 26 Nov 2004 09:50:23 GMT From: Derik van Zuetphen <dz@426.ch> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/74287: Update port sysutils/anacron: added startup script Message-ID: <200411260950.iAQ9oNGf062430@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/74287; it has been noted by GNATS. From: Derik van Zuetphen <dz@426.ch> To: solsTiCe d'Hiver <solstice.dhiver@laposte.net> Cc: freebsd-gnats-submit@FreeBSD.org, dz@426.ch Subject: Re: ports/74287: Update port sysutils/anacron: added startup script Date: Fri, 26 Nov 2004 10:44:03 +0100 Quoting solsTiCe d'Hiver (solstice.dhiver@laposte.net): > the name of the script must be anacron and not anacron.sh. > because scripts named *.sh are considered old-style script and run > whatever is set in /etc/rc.conf (am i right ?) The name of the script doesn't matter for rcNG, see rc(8). Only old-style rc-scripts must be named *.sh. > install the anacron's port and you will see that even if you don't set > anything in /etc/rc.conf the anacron.sh is run. > > Moreover you got that warning > Local package initialization:/usr/local/etc/rc.d/anacron.sh: WARNING: > $anacron_enable is not set properly - see rc.conf(5). That's intentional. I think it is better to emit a warning, than to silently ignore the port, or worse, to silently start an unconfigured program. -Derik.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411260950.iAQ9oNGf062430>