preinit: fix mixup between led and reset button enable on some platforms (thx, cshore)
[openwrt.git] / target / linux / ar71xx / base-files / lib / preinit / 05_enable_reset_button_ar71xx
1 #
2 # Copyright (C) 2009 OpenWrt.org
3 #
4
5 . /lib/ar71xx.sh
6
7
8 preinit_enable_reset_button() {
9         insmod input-core
10         insmod input-polldev
11         insmod gpio_buttons
12         insmod button-hotplug
13 }
14
15 boot_hook_add preinit_main preinit_enable_reset_button
16