diff --git a/src/etc/ecl.php b/src/etc/ecl.php index c482260636..2b6bb50f73 100755 --- a/src/etc/ecl.php +++ b/src/etc/ecl.php @@ -184,6 +184,11 @@ function find_config_xml() { backup_config(); echo "Restoring [{$slice}] {$config_location}...\n"; restore_backup($config_location); + if (file_exists('/cf/conf/trigger_initial_wizard')) { + echo "First boot after install, setting flag for package sync and disabling wizard...\n"; + touch('/cf/conf/needs_package_sync'); + @unlink('/cf/conf/trigger_initial_wizard'); + } echo "Cleaning up...\n"; exec("/sbin/umount /tmp/mnt/cf"); exit;