mirror of
https://github.com/opnsense/plugins.git
synced 2026-02-03 20:40:37 -05:00
net/igmp-proxy: use mwexecf and file_safe
PR: https://github.com/opnsense/core/issues/9325
This commit is contained in:
parent
7ceccc441b
commit
3af63008f9
2 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
PLUGIN_NAME= igmp-proxy
|
||||
PLUGIN_VERSION= 1.5
|
||||
PLUGIN_REVISION= 4
|
||||
PLUGIN_REVISION= 5
|
||||
PLUGIN_DEPENDS= igmpproxy
|
||||
PLUGIN_COMMENT= IGMP-Proxy Service
|
||||
PLUGIN_MAINTAINER= franco@opnsense.org
|
||||
|
|
|
|||
|
|
@ -109,8 +109,8 @@ EOD;
|
|||
}
|
||||
$igmpconf .= "\n";
|
||||
|
||||
file_put_contents('/usr/local/etc/igmpproxy.conf', $igmpconf);
|
||||
mwexec('/usr/local/etc/rc.d/igmpproxy onestart');
|
||||
file_safe('/usr/local/etc/igmpproxy.conf', $igmpconf);
|
||||
mwexecf('/usr/local/etc/rc.d/igmpproxy onestart');
|
||||
|
||||
service_log("done.\n", $verbose);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue