summaryrefslogtreecommitdiffstats
path: root/usr/local/www/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/index.php')
-rwxr-xr-xusr/local/www/index.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index 8c50eec..7909084 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -67,8 +67,11 @@
if($config['installedpackages'] <> '') {
conf_mount_rw();
unlink('/conf/needs_package_sync');
- header('Location: pkg_mgr_install.php?mode=reinstallall');
- exit;
+ conf_mount_ro();
+ if($g['platform'] == "pfSense") {
+ header('Location: pkg_mgr_install.php?mode=reinstallall');
+ exit;
+ }
}
}
OpenPOWER on IntegriCloud