Date: Wed, 24 Nov 2004 21:00:46 GMT From: "solsTiCe d'Hiver" <solstice.dhiver@laposte.net> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/74287: Update port sysutils/anacron: added startup script Message-ID: <200411242100.iAOL0kYT044438@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: solsTiCe d'Hiver <solstice.dhiver@laposte.net> To: freebsd-gnats-submit@FreeBSD.org, dz@426.ch Cc: Subject: Re: ports/74287: Update port sysutils/anacron: added startup script Date: Wed, 24 Nov 2004 21:59:33 +0100 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 ?) 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). you must add one line to make that warning disapears as the patch below show --- anacron Wed Nov 24 21:57:10 2004 +++ /usr/local/etc/rc.d/anacron Wed Nov 24 21:50:17 2004 @@ -6,6 +6,8 @@ # REQUIRE: LOGIN # KEYWORD: FreeBSD +anacron_enable=${anacron_enable-"NO"} + . /etc/rc.subr prefix=/usr/local
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411242100.iAOL0kYT044438>