automount: remove kernel 5.10 check
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user