From 56b8ac1e86eb5b0c500cbf8db60ce00aff01bcec Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Wed, 15 Aug 2018 18:55:01 +0200 Subject: treewide: consolidate upgrade state set Set the (sys)upgrade state when sourcing the stage2 script instead of setting the state for each target individual. This change fixes the, due to a missing state set, not working upgrade led on ath79 and apm821xx. Signed-off-by: Mathias Kresin --- target/linux/ipq40xx/base-files/lib/upgrade/platform.sh | 6 ------ 1 file changed, 6 deletions(-) (limited to 'target/linux/ipq40xx/base-files') diff --git a/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh b/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh index 0e29302465..610f9bbbdb 100644 --- a/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh +++ b/target/linux/ipq40xx/base-files/lib/upgrade/platform.sh @@ -83,9 +83,3 @@ platform_nand_pre_upgrade() { ;; esac } - -blink_led() { - . /etc/diag.sh; set_state upgrade -} - -append sysupgrade_pre_upgrade blink_led -- cgit v1.2.3