mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add newline
This commit is contained in:
parent
55563f1b86
commit
08f03cdfbf
@ -927,8 +927,8 @@ function interface_ppp_configure($ifcfg) {
|
||||
}
|
||||
|
||||
$rclinkup = "default:\n";
|
||||
$rclinkup.= "! sh -c \"echo HISADDR\" > /tmp/INTERFACE_router\"";
|
||||
$rclinkup.= "! sh -c \"/etc/rc.linkup INTERFACE start\"";
|
||||
$rclinkup.= "! sh -c \"echo HISADDR\" > /tmp/INTERFACE_router\"\n";
|
||||
$rclinkup.= "! sh -c \"/etc/rc.linkup INTERFACE start\"\n";
|
||||
|
||||
// Write out configuration for ppp.conf
|
||||
file_put_contents("/etc/ppp/ppp.conf", $peerfile);
|
||||
@ -936,6 +936,9 @@ function interface_ppp_configure($ifcfg) {
|
||||
// Write out linkup file
|
||||
file_put_contents("/etc/ppp/ppp.linkup", $rclinkup);
|
||||
|
||||
// Make executable
|
||||
exec("chmod a+rx /etc/ppp/ppp.linkup");
|
||||
|
||||
// Launch specified ppp instance
|
||||
$running = `ps awux | grep ppp | grep -v grep | grep $orig_dev`;
|
||||
if(!$running)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user