From d2dea24822f0453b440eeedb3f3927b26add34c7 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 9 Dec 2012 22:35:53 +0100 Subject: [PATCH] Allow using the reset button to enter config mode --- luci/config-mode/files/etc/hotplug.d/button/50-config-mode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci/config-mode/files/etc/hotplug.d/button/50-config-mode b/luci/config-mode/files/etc/hotplug.d/button/50-config-mode index 9e28b6f..0e4e8a8 100755 --- a/luci/config-mode/files/etc/hotplug.d/button/50-config-mode +++ b/luci/config-mode/files/etc/hotplug.d/button/50-config-mode @@ -12,7 +12,7 @@ wait_config_mode() { } -if [ "$BUTTON" = wps ]; then +if [ "$BUTTON" = wps -o "$BUTTON" = reset ]; then case "$ACTION" in pressed) wait_config_mode &