Consistent dhcrelay6 pid file location

This commit is contained in:
Phil Davis 2013-07-13 09:16:49 -07:00 committed by jim-p
parent 63b8c4db3b
commit d86ec4e075

View File

@ -1500,7 +1500,7 @@ function services_dhcrelay6_configure() {
return; /* XXX */
}
$cmd = "/usr/local/sbin/dhcrelay -6 -pf \"{$g['varetc_path']}/dhcrelay6.pid\"";
$cmd = "/usr/local/sbin/dhcrelay -6 -pf \"{$g['varrun_path']}/dhcrelay6.pid\"";
foreach ($dhcrelayifs as $dhcrelayif) {
$cmd .= " -l {$dhcrelayif}";
}