gluon-setup-mode: add DECT button to enter setup mode
many AVM devices do not have RESET/WPS buttons. So use the otherwise unused DECT/PHONE button to boot the device into setup mode. This patch allows to enter the setup-mode by pressing the phone button (often labeled as DECT) in addition to WPS and reset button. This patch is necessary to allow supporting boards without a WPS and reset button (e.g. AVM FRITZ!Box 7312).
This commit is contained in:
parent
7f858b1c6d
commit
b359ed1887
@ -14,7 +14,7 @@ Activating Config Mode
|
|||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
Config Mode is automatically entered at the first boot. You can re-enter
|
Config Mode is automatically entered at the first boot. You can re-enter
|
||||||
Config Mode by pressing and holding the RESET/WPS button for about three
|
Config Mode by pressing and holding the RESET/WPS/DECT button for about three
|
||||||
seconds. The device should reboot (all LEDs will turn off briefly) and
|
seconds. The device should reboot (all LEDs will turn off briefly) and
|
||||||
Config Mode will be available.
|
Config Mode will be available.
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ wait_setup_mode() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if [ "$BUTTON" = wps -o "$BUTTON" = reset ]; then
|
if [ "$BUTTON" = wps -o "$BUTTON" = reset -o "$BUTTON" = phone ]; then
|
||||||
case "$ACTION" in
|
case "$ACTION" in
|
||||||
pressed)
|
pressed)
|
||||||
wait_setup_mode &
|
wait_setup_mode &
|
||||||
|
Loading…
Reference in New Issue
Block a user