diff --git a/package/emortal/autocore/files/arm/sbin/tempinfo b/package/emortal/autocore/files/arm/sbin/tempinfo index 278f23f93b..29e6e62944 100755 --- a/package/emortal/autocore/files/arm/sbin/tempinfo +++ b/package/emortal/autocore/files/arm/sbin/tempinfo @@ -5,7 +5,7 @@ if [ -e "${mt76_path}" ]; then mt76_temp=" $(cat "${mt76_path}" | awk -F ': ' '{print $2}')°C" fi -wifi_temp="$(awk '{printf("%.1f°C ", $0 / 1000)}' /sys/class/ieee80211/phy*/device/hwmon/hwmon*/temp1_input)" +wifi_temp="$(awk '{printf("%.1f°C ", $0 / 1000)}' /sys/class/ieee80211/phy*/device/hwmon/hwmon*/temp1_input | awk '$1=$1')" if grep -q "ipq40xx" "/etc/openwrt_release"; then echo -n "WiFi:${mt76_temp} ${wifi_temp}"