diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-07-09 18:03:07 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-10 14:21:57 +0100 |
commit | 56e0835872574e26098c19ac712b5fda7bc924fd (patch) | |
tree | d40219b2979a90b9fcc4427dd7e20a0f61ad1f04 /meta/recipes-connectivity/gsm/files/gsmd | |
parent | 2e80a0b1f8cf023c6fb2b940e686b07f475205eb (diff) | |
download | poky-56e0835872574e26098c19ac712b5fda7bc924fd.tar.gz |
libgsmd - remove
This project has been unmaintained for some time, and even the OpenMoko
project is not using it any more (in favour of FSO). Since we have ofono
in OE-Core which replaces and surpasses its functionality, we can remove
libgsmd.
(From OE-Core rev: 4cd880c61e9d74dbf1a747f3654239cadadf45ce)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/gsm/files/gsmd')
-rw-r--r-- | meta/recipes-connectivity/gsm/files/gsmd | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/meta/recipes-connectivity/gsm/files/gsmd b/meta/recipes-connectivity/gsm/files/gsmd deleted file mode 100644 index dc10e63098..0000000000 --- a/meta/recipes-connectivity/gsm/files/gsmd +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | #! /bin/sh | ||
2 | # | ||
3 | # gsmd This shell script starts and stops gsmd. | ||
4 | # | ||
5 | # chkconfig: 345 90 40 | ||
6 | # description: Gsmd manages access to a serial- or USB-connected GSM | ||
7 | # processname: gsmd | ||
8 | |||
9 | PATH=/bin:/usr/bin:/sbin:/usr/sbin | ||
10 | |||
11 | [ -f /etc/default/rcS ] && . /etc/default/rcS | ||
12 | [ -f /etc/default/gsmd ] && . /etc/default/gsmd | ||
13 | |||
14 | case "$1" in | ||
15 | start) | ||
16 | [ -n "$GSM_POW" ] && ( echo "0" >$GSM_POW; sleep 1 ) | ||
17 | [ -n "$GSM_POW" ] && ( echo "1" >$GSM_POW; sleep 1 ) | ||
18 | [ -n "$GSM_RES" ] && ( echo "1" >$GSM_RES; sleep 1 ) | ||
19 | [ -n "$GSM_RES" ] && ( echo "0" >$GSM_RES; sleep 2 ) | ||
20 | |||
21 | echo -n "Starting GSM daemon: " | ||
22 | start-stop-daemon -S -x /usr/sbin/gsmd -- gsmd -p $GSM_DEV $GSMD_OPTS -d -l syslog | ||
23 | |||
24 | if [ $? = 0 ]; then | ||
25 | echo "gsmd." | ||
26 | else | ||
27 | echo "(failed.)" | ||
28 | fi | ||
29 | ;; | ||
30 | stop) | ||
31 | [ -n "$GSM_POW" ] && echo "0" >$GSM_POW | ||
32 | |||
33 | echo -n "Stopping GSM daemon: " | ||
34 | start-stop-daemon -K -x /usr/sbin/gsmd | ||
35 | echo "gsmd." | ||
36 | ;; | ||
37 | restart|force-reload) | ||
38 | $0 stop | ||
39 | $0 start | ||
40 | ;; | ||
41 | *) | ||
42 | echo "Usage: /etc/init.d/gsmd {start|stop|restart|force-reload}" | ||
43 | exit 1 | ||
44 | ;; | ||
45 | esac | ||
46 | |||
47 | exit 0 | ||