diff options
author | jim-p <jimp@pfsense.org> | 2012-08-14 12:11:47 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-08-14 12:11:47 -0400 |
commit | 6c6f9253b85e4c1d1876cb4b3411d992a1290e84 (patch) | |
tree | cc19edfd140a2c7468051e9edaeb0fe137d3d032 /etc/rc.initial | |
parent | dbb1cdb5cffc3c0f375d5ce7da3f6a6c60eabc75 (diff) | |
download | pfsense-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/rc.initial')
-rwxr-xr-x | etc/rc.initial | 3 |
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 ;; |