summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-07-21 18:54:57 -0300
committerRenato Botelho <garga@FreeBSD.org>2014-07-21 18:54:57 -0300
commit9d83d01ff26b259bf149acedf2761cc4b09828db (patch)
tree4965cd125a64bc8930746585f63ef47f5db82199 /etc
parent9775c69d65dd629f29bf3daa0b1efa277719f0d0 (diff)
downloadpfsense-9d83d01ff26b259bf149acedf2761cc4b09828db.zip
pfsense-9d83d01ff26b259bf149acedf2761cc4b09828db.tar.gz
Fix shell script syntax, it should fix #3361
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index a221283..f9b0da5 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -3612,9 +3612,9 @@ function interface_dhcpv6_configure($interface = "wan", $wancfg) {
$dhcp6cscript = "#!/bin/sh\n";
$dhcp6cscript .= "# This shell script launches /etc/rc.newwanipv6 with a interface argument.\n";
- $dhcp6cscript .= "\$dmips = \${new_domain_name_servers}\n";
- $dhcp6cscript .= "\$dmnames = \${new_domain_name}\n";
- $dhcp6cscript .= "/usr/local/sbin/fcgicli -f /etc/rc.newwanipv6 -d \"interface={$wanif}&dmnames=\$dmnames&dmips=\$dmips\"\n";
+ $dhcp6cscript .= "dmips=\${new_domain_name_servers}\n";
+ $dhcp6cscript .= "dmnames=\${new_domain_name}\n";
+ $dhcp6cscript .= "/usr/local/sbin/fcgicli -f /etc/rc.newwanipv6 -d \"interface={$wanif}&dmnames=\${dmnames}&dmips=\${dmips}\"\n";
/* Add wide-dhcp6c shell script here. Because we can not pass a argument to it. */
if (!@file_put_contents("{$g['varetc_path']}/dhcp6c_{$interface}_script.sh", $dhcp6cscript)) {
printf("Error: cannot open dhcp6c_{$interface}_script.sh in interface_dhcpv6_configure() for writing.\n");
OpenPOWER on IntegriCloud