mirror of
				https://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 21:55:55 +00:00 
			
		
		
		
	Introduce LED migration script as the names have changed. Signed-off-by: Tomasz Maciej Nowak <tmn505@gmail.com> Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250618170045.473711-8-tmn505@terefe.re/ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
		
			
				
	
	
		
			17 lines
		
	
	
		
			273 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			273 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| . /lib/functions.sh
 | |
| . /lib/functions/migrations.sh
 | |
| 
 | |
| board=$(board_name)
 | |
| 
 | |
| case "$board" in
 | |
| compulab,trimslice)
 | |
| 	migrate_leds "trimslice:green:right=green:indicator-2" "trimslice:green:left=green:indicator-3"
 | |
| 	;;
 | |
| esac
 | |
| 
 | |
| remove_devicename_leds
 | |
| 
 | |
| migrations_apply system
 | |
| 
 | |
| exit 0
 |