summaryrefslogtreecommitdiffstats
path: root/etc/rc.restart_webgui
diff options
context:
space:
mode:
authorlgcosta <lgcosta@pfsense.org>2011-06-03 04:25:46 -0300
committerlgcosta <lgcosta@pfsense.org>2011-06-03 04:25:46 -0300
commit327d958a5db136c51e28992201bf4100980869de (patch)
treea98b9b573f8c283b3ddda8cfb7d07056601b89a0 /etc/rc.restart_webgui
parent8c0199ea8bcf4cebb4218c28da7f0039d1ff07d6 (diff)
downloadpfsense-327d958a5db136c51e28992201bf4100980869de.zip
pfsense-327d958a5db136c51e28992201bf4100980869de.tar.gz
fixed for use pfsense API
Diffstat (limited to 'etc/rc.restart_webgui')
-rwxr-xr-xetc/rc.restart_webgui4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.restart_webgui b/etc/rc.restart_webgui
index d1fbc21..e74f201 100755
--- a/etc/rc.restart_webgui
+++ b/etc/rc.restart_webgui
@@ -10,9 +10,9 @@ require("rrd.inc");
echo "Restarting webConfigurator...";
-mwexec("killall -INT lighttpd");
+sigkillbyname("lighttpd", "INT");
-while (exec("ps ax | grep lighttpd | grep -v grep")) {
+while (is_process_running("lighttpd")) {
echo '.';
sleep(1);
}
OpenPOWER on IntegriCloud