aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files/lib
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-07-25 00:43:00 +0200
committerChristian Lamparter <chunkeey@gmail.com>2019-08-31 12:08:23 +0200
commitd94a3f328f39d93550fd29cc7930d50e1f849d24 (patch)
tree93b853fabf23d9f9e71244f9f7750b863b95e57b /target/linux/ipq806x/base-files/lib
parentdddb43775f59271d86ebd724f059aff38517d20b (diff)
downloadupstream-d94a3f328f39d93550fd29cc7930d50e1f849d24.tar.gz
upstream-d94a3f328f39d93550fd29cc7930d50e1f849d24.tar.bz2
upstream-d94a3f328f39d93550fd29cc7930d50e1f849d24.zip
ipq806x: Replace backticks by $(...)
This replaces deprecated backticks by more versatile $(...) syntax. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ipq806x/base-files/lib')
-rw-r--r--target/linux/ipq806x/base-files/lib/upgrade/linksys.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/linksys.sh b/target/linux/ipq806x/base-files/lib/upgrade/linksys.sh
index 2aa6e0f08c..a957bf1149 100644
--- a/target/linux/ipq806x/base-files/lib/upgrade/linksys.sh
+++ b/target/linux/ipq806x/base-files/lib/upgrade/linksys.sh
@@ -21,7 +21,7 @@ linksys_get_target_firmware() {
"${cur_boot_part}" "${mtd_ubi0}"
fi
- cur_boot_part=`/usr/sbin/fw_printenv -n boot_part`
+ cur_boot_part=$(/usr/sbin/fw_printenv -n boot_part)
case $cur_boot_part in
1)