bugfix missing fi
parent
96eecc9058
commit
1093026183
2
config
2
config
|
|
@ -12,7 +12,7 @@
|
||||||
# If you do not need booting from CD (eg you're booting only from USB)
|
# 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
|
# then you can ignore recompiling isolinux.bin, just rename LIVEKITNAME
|
||||||
# and you're done.
|
# and you're done.
|
||||||
LIVEKITNAME="linux"
|
LIVEKITNAME="slax"
|
||||||
|
|
||||||
# Kernel file, will be copied to your Live Kit
|
# Kernel file, will be copied to your Live Kit
|
||||||
# Your kernel must support aufs and squashfs. Debian Jessie's kernel is ready
|
# Your kernel must support aufs and squashfs. Debian Jessie's kernel is ready
|
||||||
|
|
|
||||||
|
|
@ -803,7 +803,7 @@ fstab_create()
|
||||||
blkid | cut -d: -f 1 | while read DEVICE; do
|
blkid | cut -d: -f 1 | while read DEVICE; do
|
||||||
FS="$(device_tag $DEVICE TYPE)"
|
FS="$(device_tag $DEVICE TYPE)"
|
||||||
LABEL="$(device_tag $DEVICE LABEL | sed -r "s:[/ ]:_:g")"
|
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
|
if [ "$FS" != "swap" ]; then
|
||||||
mkdir -p "$1/media/$LABEL"
|
mkdir -p "$1/media/$LABEL"
|
||||||
echo "$DEVICE" "/media/$LABEL" $FS defaults,noatime 0 0 >> $FSTAB
|
echo "$DEVICE" "/media/$LABEL" $FS defaults,noatime 0 0 >> $FSTAB
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue