From 4e2b0079df6d430ffa75e7d42da9111e9831db76 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 17 May 2016 12:18:22 +0200 Subject: [PATCH] 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. --- +POST_INSTALL | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/+POST_INSTALL b/+POST_INSTALL index e338cc78d..7f03a5077 100644 --- a/+POST_INSTALL +++ b/+POST_INSTALL @@ -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