diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-10-19 23:17:22 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-10-19 23:17:22 -0400 |
commit | bb992eb3c6364b2b7f6ed064a0bc2c7e0f12a549 (patch) | |
tree | 3987558421895506eaeef7ec3d73bd7c54b24858 | |
parent | a469927d168996a6780c17c9cd8132c0077d62dd (diff) | |
download | pfsense-bb992eb3c6364b2b7f6ed064a0bc2c7e0f12a549.zip pfsense-bb992eb3c6364b2b7f6ed064a0bc2c7e0f12a549.tar.gz |
Writw out ppp.linkup file
-rw-r--r-- | etc/inc/interfaces.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 61dedd9..62e2a13 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -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}"); } |