Skip to content
Browse files

If ECL picks up a config on the first boot post-install, trigger a pa…

…ckage sync and don't run the wizard.

(cherry picked from commit 695f7d5)
(cherry picked from commit 661c5b7)
(cherry picked from commit 7d9248c)
  • Loading branch information...
jim-p committed Oct 6, 2017
1 parent c604b57 commit 05c4198655a02eaca1af67bee641dbf0fd2e0f8e
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/etc/ecl.php
@@ -184,6 +184,11 @@ function find_config_xml() {
echo "Restoring [{$slice}] {$config_location}...\n";
if (file_exists('/cf/conf/trigger_initial_wizard')) {
echo "First boot after install, setting flag for package sync and disabling wizard...\n";
echo "Cleaning up...\n";
exec("/sbin/umount /tmp/mnt/cf");

0 comments on commit 05c4198

Please sign in to comment.
You can’t perform that action at this time.