summaryrefslogtreecommitdiff
path: root/hooks
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-10-09 00:29:15 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:31:05 +0100
commite10059ad3f5f97ae43d46eb5ef6386e3f561f14f (patch)
treef6e9f2cf46a4568491f54067cdee4d48195ade7b /hooks
parent72a19f689e43318589a7c2614848778a59629b76 (diff)
downloadlive-boot-e10059ad3f5f97ae43d46eb5ef6386e3f561f14f.tar.gz
live-boot-e10059ad3f5f97ae43d46eb5ef6386e3f561f14f.zip
Adjusting to live-initramfs.
Diffstat (limited to 'hooks')
-rwxr-xr-xhooks/live13
1 files changed, 7 insertions, 6 deletions
diff --git a/hooks/live b/hooks/live
index e692690..8cfc360 100755
--- a/hooks/live
+++ b/hooks/live
@@ -57,6 +57,13 @@ then
cp /etc/console/boottime.kmap.gz "${DESTDIR}"/etc
fi
+# Configuration: Unique ID
+if [ -n "${LIVE_GENERATE_UUID}" ]
+then
+ mkdir -p "${DESTDIR}"/conf
+ uuidgen -r > "${DESTDIR}"/conf/uuid.conf
+fi
+
# Filesystem: cifs
if [ -x /sbin/mount.cifs ]
then
@@ -120,9 +127,3 @@ if [ -x /usr/bin/wget ]
then
copy_exec /usr/bin/wget /bin
fi
-
-if [ "$CASPER_GENERATE_UUID" ]; then
- # Unique ID
- mkdir -p $DESTDIR/conf
- uuidgen -r > $DESTDIR/conf/uuid.conf
-fi