Reworked integrity-check (Closes: #507477).
[live-boot-grml.git] / scripts / live-bottom / 15autologin
index bb9902e..7fb2b13 100755 (executable)
@@ -20,7 +20,9 @@ esac
 
 # live-initramfs header
 
-if [ -n "${NOXAUTOLOGIN}" ]
+. /live.vars
+
+if [ -n "${NOXAUTOLOGIN}" ] || [ -z "${USERNAME}" ]
 then
        exit 0
 fi