automount: remove kernel 5.10 check

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen
2023-05-13 22:58:24 +08:00
parent b032812ea1
commit da76fad95d
2 changed files with 2 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ fi
if grep -q "ipq40xx" "/etc/openwrt_release"; then
if [ -e "$IEEE_PATH/phy0/hwmon0/temp1_input" ]; then
mt76_temp=" $(awk -F ': ' '{print $2}' "$IEEE_PATH/phy0/hwmon0/temp1_input" 2>"/dev/null")°C"
mt76_temp="$(awk -F ': ' '{print $2}' "$IEEE_PATH/phy0/hwmon0/temp1_input" 2>"/dev/null")°C"
fi
[ -z "$mt76_temp" ] || wifi_temp="${wifi_temp:+$wifi_temp }$mt76_temp"
else

View File

@@ -12,7 +12,6 @@ PKG_FLAGS:=nonshared
PKG_RELEASE:=$(COMMITCOUNT)
PKG_CONFIG_DEPENDS:= \
CONFIG_LINUX_5_10 \
CONFIG_TARGET_ramips
include $(INCLUDE_DIR)/package.mk
@@ -29,8 +28,7 @@ define Package/automount
+kmod-fs-ext4 \
+kmod-fs-exfat \
+kmod-fs-vfat \
+LINUX_5_10:ntfs-3g \
+!LINUX_5_10:ntfs3-mount
+ntfs3-mount
PKGARCH:=all
endef