Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 52b749b2 authored by Robert Nelson's avatar Robert Nelson
Browse files

chroot: kill connman-wait-online.service by default, as it causes up to 2 minutes of delay


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent a5f4cd73
No related merge requests found
...@@ -930,6 +930,11 @@ cat > "${DIR}/chroot_script.sh" <<-__EOF__ ...@@ -930,6 +930,11 @@ cat > "${DIR}/chroot_script.sh" <<-__EOF__
apt-get remove -y --force-yes ntpdate --purge || true apt-get remove -y --force-yes ntpdate --purge || true
fi fi
fi fi
#kill systemd/connman-wait-online.service, as it delays serial console upto 2 minutes...
if [ -f /etc/systemd/system/network-online.target.wants/connman-wait-online.service ] ; then
systemctl disable connman-wait-online.service || true
fi
} }
#cat /chroot_script.sh #cat /chroot_script.sh
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment