Changeset c404424 in freewrt
- Timestamp:
- Oct 18, 2006, 7:33:38 PM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- 55bcdf6
- Parents:
- 417240b
- File:
-
- 1 edited
-
package/broadcom-watchbutton/files/umts.hotplug (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
package/broadcom-watchbutton/files/umts.hotplug
r417240b rc404424 1 1 #!/bin/sh 2 2 3 LED_STATE=$(cat /proc/sys/diag) 3 if ip link show umts >&- 2>&- ;then 4 ifdown umts 5 else 6 ifup umts 7 fi 4 8 5 # toggle LED6 echo $((LED_STATE ^ 8)) > /proc/sys/diag7 8 # enable LED9 echo $((LED_STATE | 8)) > /proc/sys/diag10 11 # disable LED12 echo $(((LED_STATE | 8) ^ 8)) > /proc/sys/diag13
Note:
See TracChangeset
for help on using the changeset viewer.
