pfsense/etc/rc.restart_webgui

20 lines
251 B
PHP
Executable File

#!/usr/local/bin/php -f
<?php
require("config.inc");
require("functions.inc");
mwexec("killall -9 lighttpd");
echo "Restarting webConfigurator...";
system_webgui_start();
captiveportal_configure();
enable_rrd_graphing();
echo " done.\n\n";
?>