root/etc/rc.restart_webgui @ 067e48ab
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 | require("rrd.inc"); |
||
10 | 8b52f644 | Scott Ullrich | |
11 | mwexec("killall -9 lighttpd"); |
||
12 | |||
13 | 04b44931 | Scott Ullrich | echo "Restarting webConfigurator..."; |
14 | |||
15 | 8b52f644 | Scott Ullrich | system_webgui_start(); |
16 | d5b7b3cc | Scott Ullrich | |
17 | 769e254e | Ermal | captiveportal_init_webgui(); |
18 | 8b52f644 | Scott Ullrich | |
19 | d5b7b3cc | Scott Ullrich | enable_rrd_graphing(); |
20 | |||
21 | 28c4ed21 | Scott Ullrich | echo " done.\n\n"; |
22 | 04b44931 | Scott Ullrich | |
23 | 769e254e | Ermal | ?>
|