From ec96ec58f03782ef5513cb3eae6ee7aa4d0da5a3 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Wed, 22 Sep 2010 21:35:04 +0200 Subject: [PATCH] bluez: add bluez init script Signed-off-by: Stephan Raue --- packages/network/bluez/init.d/13_bluetooth | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 packages/network/bluez/init.d/13_bluetooth diff --git a/packages/network/bluez/init.d/13_bluetooth b/packages/network/bluez/init.d/13_bluetooth new file mode 100755 index 0000000000..ac2364b52c --- /dev/null +++ b/packages/network/bluez/init.d/13_bluetooth @@ -0,0 +1,32 @@ +#!/bin/sh + +################################################################################ +# Copyright (C) 2009-2010 OpenELEC.tv +# http://www.openelec.tv +# +# This Program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This Program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with OpenELEC.tv; see the file COPYING. If not, write to +# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +# http://www.gnu.org/copyleft/gpl.html +################################################################################ + +# +# starting bluetooth devices +# +# runlevels: openelec, textmode + +. /etc/profile + +progress "Starting Bluetooth" + + udevadm trigger --subsystem-match=bluetooth & \ No newline at end of file