diff options
author | Chris Buechler <cmb@pfsense.org> | 2010-02-27 15:24:35 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2010-02-27 15:24:35 -0500 |
commit | a64b5d3f926dd06d764856d2a3b979b3f5f1c980 (patch) | |
tree | 050a67499343abf9183c943f84f4f2b3e02918a6 /etc/rc.initial.setlanip | |
parent | 7b819cdbb268b106d648904b2f1596b980552f0a (diff) | |
download | pfsense-a64b5d3f926dd06d764856d2a3b979b3f5f1c980.zip pfsense-a64b5d3f926dd06d764856d2a3b979b3f5f1c980.tar.gz |
if reverted to HTTP, restart lighty
Diffstat (limited to 'etc/rc.initial.setlanip')
-rwxr-xr-x | etc/rc.initial.setlanip | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/rc.initial.setlanip b/etc/rc.initial.setlanip index 2a37169..c332d88 100755 --- a/etc/rc.initial.setlanip +++ b/etc/rc.initial.setlanip @@ -187,8 +187,10 @@ $good = true; } while (!$good); - if ($yn == "y") + if ($yn == "y") { $config['system']['webgui']['protocol'] = "http"; + $restart_webgui = true; + } } if (isset($config['system']['webgui']['noantilockout'])) { @@ -222,6 +224,10 @@ echo " DHCPD..."; services_dhcpd_configure(); } + if($restart_webgui) { + echo " restarting webConfigurator... "; + mwexec("/etc/rc.restart_webgui"); + } if ($intip != '') { if (is_ipaddr($intip)) { |