glibc 2.5|2.6.1 actually apply the local-dynamic-resolvconf.patch instead of
[vuplus_openembedded] / packages / gsm / files / default
1 # gsmd  This shell script configures for the gsmd init script.
2
3 . /etc/init.d/functions
4
5 case `machine_id` in
6         "gta01"|"gta02")
7                 GSMD_OPTS="-s 115200 -F"
8                 if [ -d '/sys/bus/platform/devices/gta01-pm-gsm.0' ] ; then
9                 GSM_POW="/sys/bus/platform/devices/gta01-pm-gsm.0/power_on"
10                 GSM_RES="/sys/bus/platform/devices/gta01-pm-gsm.0/reset"
11                 else
12                 GSM_POW="/sys/bus/platform/devices/neo1973-pm-gsm.0/power_on"
13                 GSM_RES="/sys/bus/platform/devices/neo1973-pm-gsm.0/reset"
14                 fi
15                 GSM_DEV="/dev/ttySAC0"
16                 ;;
17         "htc_apache"|"htc_blueangel"|"htc_universal")
18                 GSMD_OPTS="-s 115200 -F"
19                 GSM_DEV="/dev/ttyS0"
20                 ;;
21         "htc_himalaya")
22                 GSMD_OPTS="-s 115200 -F"
23                 GSM_DEV="/dev/ttyS2"
24                 ;;
25         "htc_magician")
26                 GSMD_OPTS="-s 115200 -F"
27                 GSM_DEV="/dev/ttyS1"
28                 ;;
29         "palm_treo_650")
30                 GSMD_OPTS="-s 460800 -F -w 1"
31                 GSM_DEV="/dev/ttyS0"
32                 ;;
33         "motorola_ezx_platform")
34                 GSMD_OPTS="-s 115200 -F -v ti"
35                 GSM_DEV="/dev/mux0"
36                 ;;
37         *)
38                 # Unknown board
39
40                 # If you must specify special options, uncomment and modify the next line
41                 #GSMD_OPTS="-s 115200 -F"
42
43                 # If your GSM device needs to be powered up, uncomment and modify the next line
44                 #GSM_POW="/sys/bus/platform/devices/gta01-pm-gsm.0/power_on"
45
46                 # If your GSM device then needs to be reset, uncomment and modify the next line
47                 #GSM_RES="/sys/bus/platform/devices/gta01-pm-gsm.0/reset"
48
49                 # This should be in a common /etc/default/serial, together with
50                 # BT_DEV and IR_DEV for devices that have those on a serial port
51                 #GSM_DEV="/dev/ttyS1"
52                 ;;
53 esac