zyxel-bootconfig: clean up script
Drop unused variable and fix identation. Signed-off-by: David Bauer <mail@david-bauer.net>
This commit is contained in:
parent
e4a76673ff
commit
f97ce066a8
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue