X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=hooks%2Flive;h=8cfc360211dbd2965ba097bf5bfe7a791b3e03dc;hb=f4362694b8f87df655c4baea22ac777db30a0345;hp=a59fe3b3b7404b986e7045d199c9fd3d6e70d125;hpb=1e0a488b895cd6e2bf7141aa730f17da42a490f7;p=live-boot-grml.git diff --git a/hooks/live b/hooks/live index a59fe3b..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