summaryrefslogtreecommitdiffstats
path: root/etc/rc.restart_webgui
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-29 05:48:58 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-29 05:48:58 +0000
commit8b52f644bc9948f5b6823a9d40f5abec2f9b77a5 (patch)
treef639a11257e813cdfa5c89407c83098c4b1e1b47 /etc/rc.restart_webgui
parenta81565a7860bc236d0beea799c38d43047244de5 (diff)
downloadpfsense-8b52f644bc9948f5b6823a9d40f5abec2f9b77a5.zip
pfsense-8b52f644bc9948f5b6823a9d40f5abec2f9b77a5.tar.gz
Add option 11 - restart webgui
Diffstat (limited to 'etc/rc.restart_webgui')
-rwxr-xr-xetc/rc.restart_webgui12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/rc.restart_webgui b/etc/rc.restart_webgui
new file mode 100755
index 0000000..fc57f94
--- /dev/null
+++ b/etc/rc.restart_webgui
@@ -0,0 +1,12 @@
+#!/usr/local/bin/php -f
+
+<?php
+
+require("config.inc");
+require("functions.inc");
+
+mwexec("killall -9 lighttpd");
+
+system_webgui_start();
+
+?> \ No newline at end of file
OpenPOWER on IntegriCloud