mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
fix igmpproxy startup
This commit is contained in:
parent
95ba411113
commit
2e506e47b4
@ -1342,7 +1342,7 @@ EOD;
|
||||
}
|
||||
$igmpconf .= "\n";
|
||||
|
||||
$igmpfl = fopen('/tmp/igmpproxy.conf', 'w');
|
||||
$igmpfl = fopen('/usr/local/etc/igmpproxy.conf', 'w');
|
||||
if (!$igmpfl) {
|
||||
log_error(gettext("Could not write Igmpproxy configuration file!"));
|
||||
return;
|
||||
@ -1351,8 +1351,7 @@ EOD;
|
||||
fclose($igmpfl);
|
||||
unset($igmpconf);
|
||||
|
||||
/* NOTE: -d4 means everything LOG_WARNING and smaller */
|
||||
mwexec('/usr/local/sbin/igmpproxy -d4 -c /tmp/igmpproxy.conf');
|
||||
mwexec('/usr/local/etc/rc.d/igmpproxy onestart');
|
||||
log_error(gettext("Started IGMP proxy service."));
|
||||
|
||||
return 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user