On Sat, 07 Jun 2003 13:13:15 +0300 Danny Braniss <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] | D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC 68B9 [EMAIL PROTECTED]| 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" \ _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"