summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2012-08-14 12:11:47 -0400
committerjim-p <jimp@pfsense.org>2012-08-14 12:11:47 -0400
commit6c6f9253b85e4c1d1876cb4b3411d992a1290e84 (patch)
treecc19edfd140a2c7468051e9edaeb0fe137d3d032 /etc
parentdbb1cdb5cffc3c0f375d5ce7da3f6a6c60eabc75 (diff)
downloadpfsense-6c6f9253b85e4c1d1876cb4b3411d992a1290e84.zip
pfsense-6c6f9253b85e4c1d1876cb4b3411d992a1290e84.tar.gz
Add a hidden menu option to forcefully kill php, lighty, and then restart the GUI. (Can't make it a part of rc.restart_webgui since killing php would also kill the script itself.)
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.initial3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/rc.initial b/etc/rc.initial
index e100f0e..155faab 100755
--- a/etc/rc.initial
+++ b/etc/rc.initial
@@ -139,6 +139,9 @@ case ${opmode} in
11)
/etc/rc.restart_webgui
;;
+111)
+ /usr/bin/killall -9 php; /usr/bin/killall -9 lighttpd; /etc/rc.restart_webgui
+ ;;
12)
/usr/local/sbin/pfSsh.php
;;
OpenPOWER on IntegriCloud