diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-07-24 00:06:15 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-07-24 00:06:15 +0000 |
commit | 6cc843c39b3accebc7e60c0486d42b92d1496877 (patch) | |
tree | c058103913b8af2e363a5c90b3dc971bd0557ef8 /usr/local | |
parent | 8c28ce805700a4ab6996263338eab77120d269a4 (diff) | |
download | pfsense-6cc843c39b3accebc7e60c0486d42b92d1496877.zip pfsense-6cc843c39b3accebc7e60c0486d42b92d1496877.tar.gz |
* Remount RO after unlinking file
* Only reinstall packages if platform is pfSense (full installation)
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/index.php | 7 |
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; + } } } |