summaryrefslogtreecommitdiff
blob: 8975be6c05cc5f102922c653ef4461262288fde0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/sbin/runscript
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/bluez/files/4.60/bluetooth-init.d,v 1.2 2010/06/11 10:14:00 pacho Exp $

depend() {
	after coldplug
	need dbus localmount
}

start() {
   	ebegin "Initializing BT module of wl1271"

	start-stop-daemon --start --oknodo --background \
	--name tibtfm-wl1271 --pidfile /var/run/tibtfm-wl1271.pid --make-pidfile \
	--exec /usr/bin/uim -- /dev/ttyO1 3686400 1 22 

	eend $?
}

stop() {
	ebegin "Deinitializing BT module of wl1271"
	start-stop-daemon --stop  \
        --name tibtfm-wl1271 --pidfile /var/run/tibtfm-wl1271.pid
	eend $?
}