mvebu: replace backticks by $(...)
[openwrt/staging/chunkeey.git] / target / linux / mvebu / base-files / sbin / fan_ctrl.sh
index 06e462119d21dab7e5c30e01a899241ebfb1ecc4..42346683177ff77ac20a9445d084efde2a250e73 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 
-CPU_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon2/temp1_input`
-DDR_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon1/temp1_input`
-WIFI_TEMP=`cut -c1-2 /sys/class/hwmon/hwmon1/temp2_input`
+CPU_TEMP=$(cut -c1-2 /sys/class/hwmon/hwmon2/temp1_input)
+DDR_TEMP=$(cut -c1-2 /sys/class/hwmon/hwmon1/temp1_input)
+WIFI_TEMP=$(cut -c1-2 /sys/class/hwmon/hwmon1/temp2_input)
 
 CPU_LOW=85
 CPU_HIGH=95