skip squashfs filesystems in media, update xlunch

This commit is contained in:
TomasM
2017-12-15 05:46:39 -05:00
parent 1093026183
commit cb0039761a
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -804,7 +804,7 @@ fstab_create()
FS="$(device_tag $DEVICE TYPE)"
LABEL="$(device_tag $DEVICE LABEL | sed -r "s:[/ ]:_:g")"
if [ "$LABEL" = "" ]; then LABEL="$(basename $DEVICE)"; fi
if [ "$FS" != "swap" ]; then
if [ "$FS" != "swap" -a "$FS" != "squashfs" ]; then
mkdir -p "$1/media/$LABEL"
echo "$DEVICE" "/media/$LABEL" $FS defaults,noatime 0 0 >> $FSTAB
fi