diff --git a/package/lean/automount/Makefile b/package/lean/automount/Makefile index b0920709f..cccbfb2a1 100644 --- a/package/lean/automount/Makefile +++ b/package/lean/automount/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=automount PKG_VERSION:=1 -PKG_RELEASE:=37 +PKG_RELEASE:=38 PKG_ARCH:=all include $(INCLUDE_DIR)/package.mk diff --git a/package/lean/automount/files/15-automount b/package/lean/automount/files/15-automount index dc052bdd3..bb222e81e 100755 --- a/package/lean/automount/files/15-automount +++ b/package/lean/automount/files/15-automount @@ -6,7 +6,7 @@ blkdev=`dirname $DEVPATH` basename=`basename $blkdev` device=`basename $DEVPATH` -skip=`block info | sed 's/\(.*\): .*/\1/' | grep -q $device ; echo $?` +skip=`block info | grep -vE '(f2fs|kernel|squashfs)' | sed 's/\(.*\): .*/\1/' | grep -q $device ; echo $?` path=$DEVPATH if [ $basename != "block" ] && [ -z "${device##sd*}" ] && [ $skip -eq 1 ]; then