pfsense/etc/rc.restart_webgui
2010-04-19 21:54:25 -04:00

23 lines
324 B
PHP
Executable File

#!/usr/local/bin/php -f
<?php
require("config.inc");
require("functions.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";
?>