I'm happy to see the packages-feed branched for 10.03.1! restorefactory already uses the new button names from trunk, this patch backports it to backfire.
Signed-off-by: Daniel Golle <dgo...@allnet.de> Index: branches/packages_10.03.1/utils/restorefactory/files/uci_defaults_restorefactory =================================================================== --- branches/packages_10.03.1/utils/restorefactory/files/uci_defaults_restorefactory (revision 27707) +++ branches/packages_10.03.1/utils/restorefactory/files/uci_defaults_restorefactory (working copy) @@ -2,7 +2,7 @@ [ -n "$(uci -q show system.@restorefactory[0])" ] || { uci add system restorefactory - uci set system.@restorefactory[0].button=reset + uci set system.@restorefactory[0].button=BTN_0 uci set system.@restorefactory[0].action=pressed uci set system.@restorefactory[0].timeout=5 uci commit Index: branches/packages_10.03.1/utils/restorefactory/files/hotplug_restorefactory =================================================================== --- branches/packages_10.03.1/utils/restorefactory/files/hotplug_restorefactory (revision 27707) +++ branches/packages_10.03.1/utils/restorefactory/files/hotplug_restorefactory (working copy) @@ -1,7 +1,7 @@ #!/bin/sh system_config() { - config_get button "$1" button "reset" + config_get button "$1" button "BTN_0" config_get action "$1" action "pressed" config_get timeout "$1" timeout "5" } _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel