mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Do not attempt to touch /needs_package_sync on CDROM platform.
This commit is contained in:
parent
46d5398808
commit
447c8e03a1
@ -154,7 +154,8 @@ if ($_POST) {
|
||||
if (config_install($_FILES['conffile']['tmp_name']) == 0) {
|
||||
/* this will be picked up by /index.php */
|
||||
conf_mount_rw();
|
||||
touch("/needs_package_sync");
|
||||
if($g['platform'] <> "cdrom")
|
||||
touch("/needs_package_sync");
|
||||
$reboot_needed = true;
|
||||
$savemsg = "The configuration has been restored. The firewall is now rebooting.";
|
||||
/* remove cache, we will force a config reboot */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user