2 # use led for keeping track of the state
3 case "$(cat /proc/diag/led/3g_green)" in
15 [ "$ACTION" = "released" -a "$BUTTON" = "3g" ] && {
16 (echo /bin/true > /proc/sys/kernel/hotplug)
21 config_get TYPE "$CONFIG_SECTION" TYPE
24 config_get proto "$CONFIG_SECTION" proto
25 config_get button "$CONFIG_SECTION" button
27 1|on|enabled) [ "$proto" = "3g" ] && button_action "$CONFIG_SECTION";;
34 (echo /sbin/hotplug > /proc/sys/kernel/hotplug)