mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Writw out ppp.linkup file
This commit is contained in:
parent
a469927d16
commit
bb992eb3c6
@ -904,9 +904,15 @@ function interface_ppp_configure($ifcfg) {
|
||||
}
|
||||
}
|
||||
|
||||
$rclinkup = "default:\n";
|
||||
$rclinkup.= "! /etc/rc.filter_configure_sync";
|
||||
|
||||
// Write out configuration for ppp.conf
|
||||
file_put_contents("/etc/ppp/ppp.conf", $peerfile);
|
||||
|
||||
// Write out linkup file
|
||||
file_put_contents("/etc/ppp/ppp.linkup", $rclinkup);
|
||||
|
||||
// Launch specified ppp instance
|
||||
mwexec("/usr/sbin/ppp -background {$orig_dev}");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user