bugfix missing fi

pull/40/head
TomasM 2017-12-15 05:32:23 -05:00
parent 96eecc9058
commit 1093026183
2 changed files with 2 additions and 2 deletions

2
config
View File

@ -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

View File

@ -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