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
					Adrian Schmutzler
				
			
				
					committed by
					
						 Christian Lamparter
						Christian Lamparter
					
				
			
			
				
	
			
			
			 Christian Lamparter
						Christian Lamparter
					
				
			
						parent
						
							dddb43775f
						
					
				
				
					commit
					d94a3f328f
				
			| @@ -13,13 +13,13 @@ OPATH=${DEVPATH##/devices/platform/} | |||||||
| OPATH=${OPATH%%/ieee*} | OPATH=${OPATH%%/ieee*} | ||||||
|  |  | ||||||
| # 10 radios is enough for anyone! | # 10 radios is enough for anyone! | ||||||
| for i in `seq 0 9`; | for i in $(seq 0 9); | ||||||
|   do |   do | ||||||
|   BUS=`uci get wireless.@wifi-device[$i].path` |   BUS=$(uci get wireless.@wifi-device[$i].path) | ||||||
|   if [ "$BUS " == "$OPATH " ] |   if [ "$BUS " == "$OPATH " ] | ||||||
|       then |       then | ||||||
|       PHYNAME=${DEVPATH##*ieee80211/} |       PHYNAME=${DEVPATH##*ieee80211/} | ||||||
|       NPHYNAME=`uci get wireless.@wifi-device[$i].phyname` |       NPHYNAME=$(uci get wireless.@wifi-device[$i].phyname) | ||||||
|       if [ "$NPHYNAME " != " " ] |       if [ "$NPHYNAME " != " " ] | ||||||
|           then |           then | ||||||
|           if [ "$PHYNAME " != "$NPHYNAME " ] |           if [ "$PHYNAME " != "$NPHYNAME " ] | ||||||
|   | |||||||
| @@ -21,7 +21,7 @@ linksys_get_target_firmware() { | |||||||
| 			"${cur_boot_part}" "${mtd_ubi0}" | 			"${cur_boot_part}" "${mtd_ubi0}" | ||||||
| 	fi | 	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 | 	case $cur_boot_part in | ||||||
| 	1) | 	1) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user