X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=scripts%2Flive-bottom%2F15autologin;h=7fb2b13fa9cfd0a88149c0d315eeaa0d88c762da;hb=f631495de9586b0be892226bcdcf6802d8fc2143;hp=bb9902e4d5c638ebfdf8f9f536e152c5d157ce90;hpb=cf052ec1816745240c65745a0de6cc4dce8c8433;p=live-boot-grml.git diff --git a/scripts/live-bottom/15autologin b/scripts/live-bottom/15autologin index bb9902e..7fb2b13 100755 --- a/scripts/live-bottom/15autologin +++ b/scripts/live-bottom/15autologin @@ -20,7 +20,9 @@ esac # live-initramfs header -if [ -n "${NOXAUTOLOGIN}" ] +. /live.vars + +if [ -n "${NOXAUTOLOGIN}" ] || [ -z "${USERNAME}" ] then exit 0 fi