summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-09-17 08:54:17 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:02 +0100
commit90ee389fa5f94645a64a157eb9819518b864e414 (patch)
treec769426727d3bbc1893821b5e654456f615794b3
parent31d899e6c14d658569d70f6fe62a0fbe1f750fa9 (diff)
downloadlive-boot-90ee389fa5f94645a64a157eb9819518b864e414.tar.gz
live-boot-90ee389fa5f94645a64a157eb9819518b864e414.zip
Sourcing live.vars in 15autologin directly, rather than to inherit from live-functions.
-rwxr-xr-xscripts/live-bottom/15autologin4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/live-bottom/15autologin b/scripts/live-bottom/15autologin
index 28a3141..7fb2b13 100755
--- a/scripts/live-bottom/15autologin
+++ b/scripts/live-bottom/15autologin
@@ -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