ports/74287: Update port sysutils/anacron: added startup script

Derik van Zuetphen dz at 426.ch
Fri Nov 26 09:50:24 UTC 2004


The following reply was made to PR ports/74287; it has been noted by GNATS.

From: Derik van Zuetphen <dz at 426.ch>
To: solsTiCe d'Hiver <solstice.dhiver at laposte.net>
Cc: freebsd-gnats-submit at FreeBSD.org, dz at 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 at 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.



More information about the freebsd-ports-bugs mailing list