1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# # Copyright (C) 2009 OpenWrt.org # . /lib/ar71xx.sh preinit_enable_leds() { insmod input-core insmod input-polldev insmod gpio_buttons insmod button-hotplug } boot_hook_add preinit_main preinit_enable_leds