Commit 07278b08 authored by Franco Fichtner's avatar Franco Fichtner

pkg: firmware reload requires initialised PHP

parent 50248132
...@@ -41,11 +41,11 @@ rm -f /usr/local/opnsense/mvc/app/cache/*.php ...@@ -41,11 +41,11 @@ rm -f /usr/local/opnsense/mvc/app/cache/*.php
echo "Execute model migrations" echo "Execute model migrations"
/usr/local/opnsense/mvc/script/run_migrations.php /usr/local/opnsense/mvc/script/run_migrations.php
echo "Reloading firmware configuration"
/usr/local/etc/rc.configure_firmware
echo "Reloading GUI configuration" echo "Reloading GUI configuration"
/usr/local/etc/rc.php_ini_setup /usr/local/etc/rc.php_ini_setup
if pgrep -q php-cgi; then if pgrep -q php-cgi; then
pkill -HUP php-cgi pkill -HUP php-cgi
fi fi
echo "Reloading firmware configuration"
/usr/local/etc/rc.configure_firmware
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