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:
		| @@ -1,12 +1,10 @@ | |||||||
| apply_bootconfig() { | apply_bootconfig() { | ||||||
| 	. /lib/functions.sh | 	. /lib/functions.sh | ||||||
|  |  | ||||||
| 	local part |  | ||||||
|  |  | ||||||
| 	case $(board_name) in | 	case $(board_name) in | ||||||
| 	zyxel,nwa50ax|\ | 	zyxel,nwa50ax|\ | ||||||
| 	zyxel,nwa55axe) | 	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-image-status 0 valid | ||||||
| 		zyxel-bootconfig "/dev/mtd$mtd_idx" set-active-image 0 | 		zyxel-bootconfig "/dev/mtd$mtd_idx" set-active-image 0 | ||||||
| 		;; | 		;; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 David Bauer
					David Bauer