diff options
Diffstat (limited to 'target/linux')
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 6aad4c9601..f25d1e2a62 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -280,7 +280,7 @@ platform_nand_pre_upgrade() { esac } -platform_pre_upgrade() { +platform_do_upgrade() { local board=$(ramips_board_name) case "$board" in @@ -289,13 +289,6 @@ platform_pre_upgrade() { ubnt-erx) nand_do_upgrade "$ARGV" ;; - esac -} - -platform_do_upgrade() { - local board=$(ramips_board_name) - - case "$board" in *) default_do_upgrade "$ARGV" ;; |