Project

General

Profile

Download (416 Bytes) Statistics
| Branch: | Tag: | Revision:
1 8b52f644 Scott Ullrich
#!/usr/local/bin/php -f
2
3
<?php
4
5
require("config.inc");
6
require("functions.inc");
7 5f2d078e Scott Ullrich
require("shaper.inc");
8 483e6de8 Scott Ullrich
require("captiveportal.inc");
9 1b34f8a7 Ermal
require_once("rrd.inc");
10 8b52f644 Scott Ullrich
11 04b44931 Scott Ullrich
echo "Restarting webConfigurator...";
12
13 ae26b02e Chris Buechler
sigkillbyname("lighttpd", "KILL");
14 8c0199ea lgcosta
15 327d958a lgcosta
while (is_process_running("lighttpd")) {
16 8c0199ea lgcosta
        echo '.';
17
        sleep(1);
18
}
19
20 8b52f644 Scott Ullrich
system_webgui_start();
21 d5b7b3cc Scott Ullrich
22 769e254e Ermal
captiveportal_init_webgui();
23 8b52f644 Scott Ullrich
24 d5b7b3cc Scott Ullrich
enable_rrd_graphing();
25
26 28c4ed21 Scott Ullrich
echo " done.\n\n";
27 04b44931 Scott Ullrich
28 769e254e Ermal
?>