summaryrefslogtreecommitdiffstats
path: root/etc/phpshellsessions
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2011-01-25 15:20:08 -0500
committerScott Ullrich <sullrich@pfsense.org>2011-01-25 15:20:08 -0500
commit96920d07adaaa66c8f6ab4284f63fb4e33f2220c (patch)
tree56af9880cbaacd15f82aeffcc2a2e686d9bf41c6 /etc/phpshellsessions
parentc4e228f3335ec0a579e91c76394d6c5f6db21d15 (diff)
downloadpfsense-96920d07adaaa66c8f6ab4284f63fb4e33f2220c.zip
pfsense-96920d07adaaa66c8f6ab4284f63fb4e33f2220c.tar.gz
Restart lighty captive portal after sync
Diffstat (limited to 'etc/phpshellsessions')
-rw-r--r--etc/phpshellsessions/gitsync2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/phpshellsessions/gitsync b/etc/phpshellsessions/gitsync
index 9fa7079..4b865c5 100644
--- a/etc/phpshellsessions/gitsync
+++ b/etc/phpshellsessions/gitsync
@@ -313,6 +313,8 @@ function post_cvssync_commands() {
fwrite($fd, "sleep 5\n");
fwrite($fd, "killall php\n");
fwrite($fd, "/usr/local/sbin/pfSctl -c 'service restart webgui'\n");
+ if(file_exists("/var/etc/lighty-CaptivePortal.conf"))
+ fwrite($fd, "/usr/local/sbin/lighttpd -f /var/etc/lighty-CaptivePortal.conf\n");
fclose($fd);
mwexec_bg("sh /tmp/restart_lighty");
echo "\n";
OpenPOWER on IntegriCloud