From 10930261836222bd44dc64ce2541dc530522d5db Mon Sep 17 00:00:00 2001 From: TomasM Date: Fri, 15 Dec 2017 05:32:23 -0500 Subject: [PATCH] bugfix missing fi --- config | 2 +- livekitlib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config b/config index c7d2792..db4a6c7 100644 --- a/config +++ b/config @@ -12,7 +12,7 @@ # If you do not need booting from CD (eg you're booting only from USB) # then you can ignore recompiling isolinux.bin, just rename LIVEKITNAME # and you're done. -LIVEKITNAME="linux" +LIVEKITNAME="slax" # Kernel file, will be copied to your Live Kit # Your kernel must support aufs and squashfs. Debian Jessie's kernel is ready diff --git a/livekitlib b/livekitlib index 70c3254..e405d02 100644 --- a/livekitlib +++ b/livekitlib @@ -803,7 +803,7 @@ fstab_create() blkid | cut -d: -f 1 | while read DEVICE; do FS="$(device_tag $DEVICE TYPE)" LABEL="$(device_tag $DEVICE LABEL | sed -r "s:[/ ]:_:g")" - if [ "$LABEL" = "" ]; then LABEL="$(basename $DEVICE)" + if [ "$LABEL" = "" ]; then LABEL="$(basename $DEVICE)"; fi if [ "$FS" != "swap" ]; then mkdir -p "$1/media/$LABEL" echo "$DEVICE" "/media/$LABEL" $FS defaults,noatime 0 0 >> $FSTAB