Date: Sat, 7 Jun 2003 07:52:59 -0400 From: Mike Makonnen <mtm@identd.net> To: Danny Braniss <danny@cs.huji.ac.il> Cc: freebsd-current@freebsd.org Subject: Re: rcNG & automonter(amd) Message-ID: <20030607115300.NJHQ16647.out006.verizon.net@kokeb.ambesa.net> In-Reply-To: <E19OahH-000Aao-00@cs.huji.ac.il> References: <E19OahH-000Aao-00@cs.huji.ac.il>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 07 Jun 2003 13:13:15 +0300 Danny Braniss <danny@cs.huji.ac.il> wrote: > hi, > I have a problem with /etc/rc.d/amd, because of the line > > command_args="&" > > ${amd_program} gets run in the background, ldconfig failes to cache libraries > in /usr/local/lib (which is automounted :-) > > Is there realy a need for the "&"? amd will background itself after it's > done > with the initialization stage anyway - and if not then it probably means > trouble. This may have been because of a missed merge from rcOG. How does the following work for you? Cheers. -- Mike Makonnen | GPG-KEY: http://www.identd.net/~mtm/mtm.asc mtm@identd.net | D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC 68B9 mtm@FreeBSD.Org| FreeBSD - The Power To Serve Index: etc/rc.d/amd =================================================================== RCS file: /home/ncvs/src/etc/rc.d/amd,v retrieving revision 1.9 diff -u -r1.9 amd --- etc/rc.d/amd 12 Oct 2002 10:31:31 -0000 1.9 +++ etc/rc.d/amd 7 Jun 2003 11:49:26 -0000 @@ -18,7 +18,6 @@ case ${OSTYPE} in FreeBSD) start_precmd="amd_precmd" - command_args="&" ;; NetBSD) command_args='-p -a '$amd_dir' -F /etc/amd.conf >/var/run/amd.pid' @@ -56,6 +55,7 @@ warn 'amd will not load without arguments' return 1 fi + rc_flags="${rc_flags} &" ;; *) rc_flags="-p ${rc_flags} > /var/run/amd.pid 2> /dev/null" \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030607115300.NJHQ16647.out006.verizon.net>