Root/
| 1 | #!/bin/sh |
| 2 | |
| 3 | . /lib/brcm63xx.sh |
| 4 | |
| 5 | enable_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 | |
| 15 | boot_hook_add preinit_main enable_reset_button |
| 16 | |
| 17 | |
| 18 |
