diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-03-09 07:07:24 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-03-09 07:07:34 +0000 |
commit | ccfabf39337516a17adb75cfd487583f6c8cb349 (patch) | |
tree | 75facb778b98191501023385b68da3314bae24f4 | |
parent | 0f558379e53fbdba0a4d22ecb24870892562d8f9 (diff) | |
download | pfsense-ccfabf39337516a17adb75cfd487583f6c8cb349.zip pfsense-ccfabf39337516a17adb75cfd487583f6c8cb349.tar.gz |
Fix http://forum.pfsense.org/index.php/topic,14361.0.html
-rw-r--r-- | etc/inc/interfaces.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 9ceb592..7cb1524 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1949,7 +1949,7 @@ function get_interface_mac($interface) { function setup_pppoe_reset_file($interface, $status) { define("CRON_PPPOE_CMD_FILE", "/conf/pppoe{$interface}restart"); - define("CRON_PPPOE_CMD", "#!/bin/sh\necho '<?php require(\"interfaces.inc\"); interface_reconfigure(\"$interface\"); services_dyndns_reset(\"$interface\"); filter_configure_sync(); ?>' | /usr/local/bin/php -q"); + define("CRON_PPPOE_CMD", "#!/bin/sh\necho '<?php require(\"interfaces.inc\"); interface_reconfigure({$interface}); services_dyndns_reset({$interface}); filter_configure(); ?>' | /usr/local/bin/php -q"); if($status == true) { if(!file_exists(CRON_PPPOE_CMD_FILE)) { file_put_contents(CRON_PPPOE_CMD_FILE, CRON_PPPOE_CMD); @@ -1960,4 +1960,4 @@ function setup_pppoe_reset_file($interface, $status) { } } -?>
\ No newline at end of file +?> |