mirror of https://github.com/hak5/openwrt-owl.git
base-files: input/button drivers get loaded before preinit by procd
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 37000owl
parent
e6ef318802
commit
67f5f188b1
|
@ -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
|
||||
|
||||
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
||||
|
|
@ -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
|
|
@ -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
|
|
@ -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
|
Loading…
Reference in New Issue