Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Nov 2005 02:21:09 -0800
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        Florent Thoumie <flz@FreeBSD.org>
Cc:        freebsd-ports-bugs@FreeBSD.org, vs@FreeBSD.org
Subject:   Re: ports/83135: sysutils/smartmontools -- Does not work with alternate config location
Message-ID:  <20051118102109.GA46737@pentarou.parodius.com>
In-Reply-To: <200511172205.jAHM5G4i076898@freefall.freebsd.org>
References:  <200511172205.jAHM5G4i076898@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Please re-open this PR.

The committed change does not work; the --configfile option
does not work (it appears to be broken code in smartd).  Using -c
does work, however.

The proper fix for smartd.sh is included below.


--- smartd.sh.old	Fri Nov 18 02:15:00 2005
+++ smartd.sh	Fri Nov 18 02:19:20 2005
@@ -25,7 +25,7 @@
 load_rc_config $name
 
 : ${smartd_config="/usr/local/etc/smartd.conf"}
-: ${smartd_flags="--configfile=${smartd_config}"}
+: ${smartd_flags="-c ${smartd_config}"}
 
 pidfile="${smartd_pidfile}"
 required_files="${smartd_config}"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051118102109.GA46737>