root/etc/rc.restart_webgui @ a859fb49
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("filter.inc"); |
8 | require("shaper.inc"); |
||
9 | 483e6de8 | Scott Ullrich | require("captiveportal.inc"); |
10 | require("rrd.inc"); |
||
11 | 8b52f644 | Scott Ullrich | |
12 | mwexec("killall -9 lighttpd"); |
||
13 | |||
14 | 04b44931 | Scott Ullrich | echo "Restarting webConfigurator..."; |
15 | |||
16 | 8b52f644 | Scott Ullrich | system_webgui_start(); |
17 | d5b7b3cc | Scott Ullrich | |
18 | 3d72f9f9 | Scott Ullrich | captiveportal_configure(); |
19 | 8b52f644 | Scott Ullrich | |
20 | d5b7b3cc | Scott Ullrich | enable_rrd_graphing(); |
21 | |||
22 | 28c4ed21 | Scott Ullrich | echo " done.\n\n"; |
23 | 04b44931 | Scott Ullrich | |
24 | 8b52f644 | Scott Ullrich | ?>
|