Changeset c404424 in freewrt


Ignore:
Timestamp:
Oct 18, 2006, 7:33:38 PM (19 years ago)
Author:
Markus Wigge <markus@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
55bcdf6
Parents:
417240b
Message:

added content after renaming

git-svn-id: svn://www.freewrt.org/branches/freewrt_1_0@956 afb5a338-a214-0410-bd46-81f09a774fd1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • package/broadcom-watchbutton/files/umts.hotplug

    r417240b rc404424  
    11#!/bin/sh
    22
    3 LED_STATE=$(cat /proc/sys/diag)
     3if ip link show umts >&- 2>&- ;then
     4        ifdown umts
     5else
     6        ifup umts
     7fi
    48
    5 # toggle LED
    6 echo $((LED_STATE ^ 8)) > /proc/sys/diag
    7 
    8 # enable LED
    9 echo $((LED_STATE | 8)) > /proc/sys/diag
    10 
    11 # disable LED
    12 echo $(((LED_STATE | 8) ^ 8)) > /proc/sys/diag
    13 
Note: See TracChangeset for help on using the changeset viewer.