mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/pppoe: plugins_interfaces() is now implied
This commit is contained in:
@@ -68,7 +68,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
||||
killbypid("/var/run/pppoe{$a_pppoes[$_POST['id']]['pppoeid']}-vpn.pid");
|
||||
mwexecf('/bin/rm -r %s', "/var/etc/pppoe{$a_pppoes[$_POST['id']]['pppoeid']}");
|
||||
unset($a_pppoes[$_POST['id']]);
|
||||
plugins_interfaces(false);
|
||||
write_config();
|
||||
exit;
|
||||
}
|
||||
|
||||
@@ -217,7 +217,6 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
|
||||
$a_pppoes[$id] = $pppoecfg;
|
||||
}
|
||||
|
||||
plugins_interfaces(false);
|
||||
write_config();
|
||||
mark_subsystem_dirty('vpnpppoe');
|
||||
file_put_contents('/tmp/.vpn_pppoe.apply', serialize($toapplylist));
|
||||
|
||||
Reference in New Issue
Block a user