diff options
author | Raúl Porcel <armin76@gentoo.org> | 2010-10-28 19:37:07 +0200 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2010-10-28 19:37:07 +0200 |
commit | 28339729aa7dbd39976a07d89dda824eb327dcc0 (patch) | |
tree | db5eec5c7259380180e9693861ac31dd8009efe6 /net-wireless/tibtfm-wl1271/files/tibtfm-wl1271.init | |
download | pandaboard-28339729aa7dbd39976a07d89dda824eb327dcc0.tar.gz pandaboard-28339729aa7dbd39976a07d89dda824eb327dcc0.tar.bz2 pandaboard-28339729aa7dbd39976a07d89dda824eb327dcc0.zip |
Initial push
Diffstat (limited to 'net-wireless/tibtfm-wl1271/files/tibtfm-wl1271.init')
-rwxr-xr-x | net-wireless/tibtfm-wl1271/files/tibtfm-wl1271.init | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/net-wireless/tibtfm-wl1271/files/tibtfm-wl1271.init b/net-wireless/tibtfm-wl1271/files/tibtfm-wl1271.init new file mode 100755 index 0000000..289b181 --- /dev/null +++ b/net-wireless/tibtfm-wl1271/files/tibtfm-wl1271.init @@ -0,0 +1,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 --verbose --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 $? +} |