wait for systemd fully started before first login (#2979)
This commit is contained in:
parent
e296ce223b
commit
71f67e664e
@ -270,6 +270,10 @@ if [[ -f /root/.not_logged_in_yet && -n $(tty) ]]; then
|
||||
desktop_lightdm=$(dpkg-query -W -f='${db:Status-Abbrev}\n' lightdm 2>/dev/null)
|
||||
desktop_gdm3=$(dpkg-query -W -f='${db:Status-Abbrev}\n' gdm3 2>/dev/null)
|
||||
|
||||
echo -e "\nWaiting for system to finish booting...\n"
|
||||
|
||||
systemctl is-system-running --wait
|
||||
|
||||
if [ "$IMAGE_TYPE" != "nightly" ]; then
|
||||
if [ "$BRANCH" == "dev" ]; then
|
||||
echo -e "\nYou are using an Armbian preview build !!!"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user