firmware: narrow window for update-related crash reports

Sync PHP config and PHP directly after installation of the new package
in order to avoid errors for missing files or modules.
This commit is contained in:
Franco Fichtner 2016-05-17 12:18:22 +02:00
parent c598f2c8da
commit 4e2b0079df

View File

@ -30,3 +30,9 @@ fi
echo "Flush Phalcon volt templates"
rm -f /usr/local/opnsense/mvc/app/cache/*.php
echo "Reloading GUI configuration"
/usr/local/etc/rc.php_ini_setup
if pgrep -q php-cgi; then
pkill -HUP php-cgi
fi