ipq806x: Replace backticks by $(...)

This replaces deprecated backticks by more versatile $(...) syntax.

Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This commit is contained in:
Adrian Schmutzler
2019-07-25 00:43:00 +02:00
committed by Christian Lamparter
parent dddb43775f
commit d94a3f328f
2 changed files with 4 additions and 4 deletions

View File

@@ -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)