Root/target/linux/brcm63xx/base-files/lib/preinit/05_reset_button_brcm63xx

1#!/bin/sh
2
3. /lib/brcm63xx.sh
4
5enable_reset_button() {
6    if [ "$brcm63xx_has_reset_button" = "true" ]; then
7        insmod input-core
8        insmod input-polldev
9        insmod gpio_buttons
10        insmod button-hotplug
11        insmod gpio_keys_polled
12    fi
13}
14
15boot_hook_add preinit_main enable_reset_button
16
17
18

Archive Download this file



interactive