diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2014-02-20 08:38:20 +0200 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2014-02-20 08:38:20 +0200 |
commit | a549e6ac6b6b6dbe30f0486ec078e607c63ab860 (patch) | |
tree | 510f307f30657fda60553346b769b73216117310 /net-wireless/bluez/files/bluez-4.18-udev.script | |
parent | b6ebc3ab027b6c55a57fde0eaedaae6114ed0d81 (diff) |
cleanup....
Diffstat (limited to 'net-wireless/bluez/files/bluez-4.18-udev.script')
-rw-r--r-- | net-wireless/bluez/files/bluez-4.18-udev.script | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/net-wireless/bluez/files/bluez-4.18-udev.script b/net-wireless/bluez/files/bluez-4.18-udev.script deleted file mode 100644 index a532e26..0000000 --- a/net-wireless/bluez/files/bluez-4.18-udev.script +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh -# -# bluetooth.sh: udev external RUN script -# -# Copyright: -# 2005-2006 Henrik Brix Andersen <brix@gentoo.org> -# 2007 Petteri Räty <betelgeuse@gentoo.org> -# 2008 Tiziano Müller <dev-zero@gentoo.org> -# Distributed under the terms of the GNU General Public License v2 - -script=/etc/init.d/bluetooth - -# Find out where sysfs is mounted. Exit if not available -sysfs=`grep -F sysfs /proc/mounts | awk '{print $2}'` -if [ "$sysfs" = "" ]; then - echo "sysfs is required" - exit 1 -fi - -if [ ! -d $sysfs/class/bluetooth/hci[0-9]* -a ! -d $sysfs/bus/bluetooth/devices/hci[0-9]* ]; then - if $script --quiet status; then - IN_HOTPLUG=1 $script --quiet stop - fi -else - if ! $script --quiet status; then - IN_HOTPLUG=1 $script --quiet start - fi -fi |