diff options
author | lgcosta <lgcosta@pfsense.org> | 2011-06-03 04:25:46 -0300 |
---|---|---|
committer | lgcosta <lgcosta@pfsense.org> | 2011-06-03 04:25:46 -0300 |
commit | 327d958a5db136c51e28992201bf4100980869de (patch) | |
tree | a98b9b573f8c283b3ddda8cfb7d07056601b89a0 /etc | |
parent | 8c0199ea8bcf4cebb4218c28da7f0039d1ff07d6 (diff) | |
download | pfsense-327d958a5db136c51e28992201bf4100980869de.zip pfsense-327d958a5db136c51e28992201bf4100980869de.tar.gz |
fixed for use pfsense API
Diffstat (limited to 'etc')
-rwxr-xr-x | etc/rc.restart_webgui | 4 |
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); } |