aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ipq806x/base-files')
-rw-r--r--target/linux/ipq806x/base-files/lib/upgrade/platform.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
index 2f0190629e..5919613cb9 100644
--- a/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ipq806x/base-files/lib/upgrade/platform.sh
@@ -13,7 +13,7 @@ platform_do_upgrade() {
buffalo,wxr-2533dhp)
buffalo_upgrade_prepare_ubi
CI_ROOTPART="ubi_rootfs"
- nand_do_upgrade "$ARGV"
+ nand_do_upgrade "$1"
;;
compex,wpq864|\
netgear,d7800 |\
@@ -23,24 +23,24 @@ platform_do_upgrade() {
qcom,ipq8064-ap148 |\
qcom,ipq8064-ap161 |\
zyxel,nbg6817)
- nand_do_upgrade "$ARGV"
+ nand_do_upgrade "$1"
;;
linksys,ea8500)
- platform_do_upgrade_linksys "$ARGV"
+ platform_do_upgrade_linksys "$1"
;;
tplink,c2600)
PART_NAME="os-image:rootfs"
MTD_CONFIG_ARGS="-s 0x200000"
- default_do_upgrade "$ARGV"
+ default_do_upgrade "$1"
;;
tplink,vr2600v)
PART_NAME="kernel:rootfs"
MTD_CONFIG_ARGS="-s 0x200000"
- default_do_upgrade "$ARGV"
+ default_do_upgrade "$1"
;;
nec,wg2600hp |\
*)
- default_do_upgrade "$ARGV"
+ default_do_upgrade "$1"
;;
esac
}