Project

General

Profile

Download (455 Bytes) Statistics
| Branch: | Tag: | Revision:
1 cb7d18d5 Renato Botelho
#!/usr/local/bin/php-cgi -f
2 8b52f644 Scott Ullrich
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 ac223911 Renato Botelho
/* Stop all running nginx processes */
14
$pidfiles = glob("{$g['varrun_path']}/nginx*.pid");
15
16
foreach ($pidfiles as $pidfile) {
17
	killbypid($pidfile);
18
}
19 8c0199ea lgcosta
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
?>