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

solsTiCe d'Hiver solstice.dhiver at laposte.net
Wed Nov 24 21:00:46 UTC 2004


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

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



More information about the freebsd-ports-bugs mailing list