ports/83135: sysutils/smartmontools -- Does not work with alternate config location

Jeremy Chadwick freebsd at jdc.parodius.com
Fri Nov 18 10:21:10 UTC 2005


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}"



More information about the freebsd-ports-bugs mailing list