X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=hooks%2Flive;h=8cfc360211dbd2965ba097bf5bfe7a791b3e03dc;hb=0b96ad9583351a7dae68711acf886298b1d25b63;hp=e692690f707351091fb3cda3f59bd5ed29d88758;hpb=72a19f689e43318589a7c2614848778a59629b76;p=live-boot-grml.git 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