diff options
author | Daniel Baumann <daniel@debian.org> | 2007-10-09 00:29:15 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:31:05 +0100 |
commit | e10059ad3f5f97ae43d46eb5ef6386e3f561f14f (patch) | |
tree | f6e9f2cf46a4568491f54067cdee4d48195ade7b /hooks | |
parent | 72a19f689e43318589a7c2614848778a59629b76 (diff) | |
download | live-boot-e10059ad3f5f97ae43d46eb5ef6386e3f561f14f.tar.gz live-boot-e10059ad3f5f97ae43d46eb5ef6386e3f561f14f.zip |
Adjusting to live-initramfs.
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/live | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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 |