summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-06-04 09:39:37 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:53:26 +0100
commit8b3bea69df843fa1642ef836f2cfa80e80da0f7c (patch)
tree1a933943caa8ba549317ab6248df95cbb6536050 /bin
parentd4943aab270a6e43662d63220e4c9e3315b01987 (diff)
downloadlive-boot-8b3bea69df843fa1642ef836f2cfa80e80da0f7c.tar.gz
live-boot-8b3bea69df843fa1642ef836f2cfa80e80da0f7c.zip
Dropping /etc/live.conf, replaced mostly by /etc/live/config.conf of live-config.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/live-snapshot6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/live-snapshot b/bin/live-snapshot
index 1e080c3..08e5fd6 100755
--- a/bin/live-snapshot
+++ b/bin/live-snapshot
@@ -40,7 +40,11 @@ fi
. /usr/share/initramfs-tools/scripts/live-helpers
LIVE_CONF="/etc/live.conf"
-. "${LIVE_CONF}"
+
+if [ -r "${LIVE_CONF}" ]
+then
+ . "${LIVE_CONF}"
+fi
export USERNAME USERFULLNAME HOSTNAME