mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 05:54:26 -04:00 
			
		
		
		
	preinit: fix mixup between led and reset button enable on some platforms (thx, cshore)
SVN-Revision: 19370
This commit is contained in:
		
							parent
							
								
									7417cfdda3
								
							
						
					
					
						commit
						0e84ed29ea
					
				| @ -1,12 +1,12 @@ | |||||||
| #!/bin/sh | #!/bin/sh | ||||||
| 
 | 
 | ||||||
| enable_leds() { | enable_reset_button() { | ||||||
| 	insmod input-core | 	insmod input-core | ||||||
| 	insmod input-polldev | 	insmod input-polldev | ||||||
| 	insmod gpio_buttons | 	insmod gpio_buttons | ||||||
| 	insmod button-hotplug | 	insmod button-hotplug | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| boot_hook_add preinit_main enable_leds | boot_hook_add preinit_main enable_reset_button | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| @ -5,12 +5,12 @@ | |||||||
| . /lib/ar71xx.sh | . /lib/ar71xx.sh | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| preinit_enable_leds() { | preinit_enable_reset_button() { | ||||||
| 	insmod input-core | 	insmod input-core | ||||||
| 	insmod input-polldev | 	insmod input-polldev | ||||||
| 	insmod gpio_buttons | 	insmod gpio_buttons | ||||||
| 	insmod button-hotplug | 	insmod button-hotplug | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| boot_hook_add preinit_main preinit_enable_leds | boot_hook_add preinit_main preinit_enable_reset_button | ||||||
| 
 | 
 | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user