bugfix missing fi
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user