From f97ce066a85c8a67bbda696256b5a9a875727b4c Mon Sep 17 00:00:00 2001 From: David Bauer Date: Mon, 26 Dec 2022 22:33:47 +0100 Subject: zyxel-bootconfig: clean up script Drop unused variable and fix identation. Signed-off-by: David Bauer --- package/utils/zyxel-bootconfig/files/95_apply_bootconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'package/utils/zyxel-bootconfig') diff --git a/package/utils/zyxel-bootconfig/files/95_apply_bootconfig b/package/utils/zyxel-bootconfig/files/95_apply_bootconfig index c47857b082..500b81234a 100644 --- a/package/utils/zyxel-bootconfig/files/95_apply_bootconfig +++ b/package/utils/zyxel-bootconfig/files/95_apply_bootconfig @@ -1,12 +1,10 @@ apply_bootconfig() { . /lib/functions.sh - local part - case $(board_name) in zyxel,nwa50ax|\ zyxel,nwa55axe) - mtd_idx=$(find_mtd_index "bootconfig") + mtd_idx=$(find_mtd_index "bootconfig") zyxel-bootconfig "/dev/mtd$mtd_idx" set-image-status 0 valid zyxel-bootconfig "/dev/mtd$mtd_idx" set-active-image 0 ;; -- cgit v1.2.3