base-files: input/button drivers get loaded before preinit by procd

Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37000 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
John Crispin
2013-06-21 16:53:47 +00:00
parent 02f1075b0a
commit 623e6025a8
6 changed files with 0 additions and 74 deletions

View File

@@ -1,12 +0,0 @@
#!/bin/sh
enable_reset_button() {
insmod input-core
insmod input-polldev
insmod gpio_buttons
insmod button-hotplug
}
boot_hook_add preinit_main enable_reset_button

View File

@@ -1,13 +0,0 @@
#
# Copyright (C) 2009 OpenWrt.org
#
. /lib/ar71xx.sh
preinit_enable_reset_button() {
insmod gpio-button-hotplug
}
boot_hook_add preinit_main preinit_enable_reset_button

View File

@@ -1,15 +0,0 @@
#!/bin/sh
enable_reset_button() {
if [ "$brcm63xx_has_reset_button" = "true" ]; then
insmod input-core
insmod input-polldev
insmod gpio_buttons
insmod button-hotplug
insmod gpio_keys_polled
fi
}
boot_hook_add preinit_main enable_reset_button

View File

@@ -1,11 +0,0 @@
#
# Copyright (C) 2010 OpenWrt.org
#
preinit_load_button_drivers() {
insmod input-core
insmod gpio_keys
insmod button-hotplug
}
boot_hook_add preinit_main preinit_load_button_drivers

View File

@@ -1,11 +0,0 @@
#
# Copyright (C) 2013 OpenWrt.org
#
preinit_mpc85xx_load_input_drivers() {
insmod input-core
insmod gpio_keys
insmod button-hotplug
}
boot_hook_add preinit_main preinit_mpc85xx_load_input_drivers

View File

@@ -1,12 +0,0 @@
#
# Copyright (C) 2011 OpenWrt.org
#
preinit_ramips_load_input_drivers() {
insmod input-core
insmod input-polldev
insmod gpio_keys_polled
insmod button-hotplug
}
boot_hook_add preinit_main preinit_ramips_load_input_drivers