Commit a96ad64c authored by Franco Fichtner's avatar Franco Fichtner

rc: when files move it's crucial to restart the web server

parent 559e42e0
......@@ -43,8 +43,12 @@ echo
# upgrade all packages if possible
pkg upgrade -y
# refresh the php.ini files now rather than later
echo
# restart the GUI after PHP changes have been applied
/usr/local/etc/rc.php_ini_setup
/usr/local/etc/rc.restart_webgui
echo
......
#!/usr/local/bin/php -f
<?php
require("config.inc");
require("functions.inc");
require("shaper.inc");
require("captiveportal.inc");
require_once("config.inc");
require_once("functions.inc");
require_once("shaper.inc");
require_once("captiveportal.inc");
require_once("rrd.inc");
echo "Restarting webConfigurator...";
......@@ -18,11 +17,7 @@ while (is_process_running("lighttpd")) {
}
system_webgui_start();
captiveportal_init_webgui();
enable_rrd_graphing();
echo " done.\n\n";
?>
echo "done.\n";
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment