summaryrefslogtreecommitdiffstats
path: root/etc/rc.restart_webgui
blob: cffd07c21ca9c15799413497f1ab6aae6f26003c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/local/bin/php -f

<?php

require("config.inc");
require("functions.inc");
require("filter.inc");
require("shaper.inc");
require("captiveportal.inc");
require("rrd.inc");

mwexec("killall -9 lighttpd");

echo "Restarting webConfigurator...";

system_webgui_start();

captiveportal_configure();

enable_rrd_graphing();

echo " done.\n\n";

?>
OpenPOWER on IntegriCloud