Sourcing live.vars in 15autologin directly, rather than to inherit from live-functions.
authorDaniel Baumann <daniel@debian.org>
Wed, 17 Sep 2008 06:54:17 +0000 (08:54 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 17 Sep 2008 06:54:17 +0000 (08:54 +0200)
scripts/live-bottom/15autologin

index 28a3141..7fb2b13 100755 (executable)
@@ -20,13 +20,15 @@ esac
 
 # live-initramfs header
 
-. /scripts/live-functions
+. /live.vars
 
 if [ -n "${NOXAUTOLOGIN}" ] || [ -z "${USERNAME}" ]
 then
        exit 0
 fi
 
+. /scripts/live-functions
+
 log_begin_msg "Setting up automatic login"
 
 # live-initramfs script