Merging casper 1.108.
[live-boot-grml.git] / hooks / live
index a59fe3b..e692690 100755 (executable)
@@ -120,3 +120,9 @@ 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