mirror of
				https://github.com/Telecominfraproject/wlan-ap.git
				synced 2025-10-31 10:28:06 +00:00 
			
		
		
		
	mediatek: Enable dualboot for EAP111 and EAP112 by default
Fixes: WIFI-14579 Signed-off-by: Tanya Singh <tanya_singh@accton.com>
This commit is contained in:
		| @@ -8,6 +8,9 @@ boot() { | |||||||
| 	edgecore,eap112) | 	edgecore,eap112) | ||||||
| 		bootcount=$(fw_printenv -n bootcount) | 		bootcount=$(fw_printenv -n bootcount) | ||||||
| 		[ "$bootcount" != 0 ] && fw_setenv bootcount 0 | 		[ "$bootcount" != 0 ] && fw_setenv bootcount 0 | ||||||
|  | 		# enable dualboot | ||||||
|  | 		avail=$(fw_printenv -n upgrade_available) | ||||||
|  | 		[ ${avail} -eq 0 ] && fw_setenv upgrade_available 1 | ||||||
| 		;; | 		;; | ||||||
| 	esac | 	esac | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Tanya Singh
					Tanya Singh