From 64bcb5de647ddb6212b55f7e828dd4f5cd5a8a39 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Fri, 12 Jun 2009 18:00:28 +0000 Subject: [PATCH] Remove dead files --- bluetooth-check | 30 ------------------------------ bluez | 10 ---------- 2 files changed, 40 deletions(-) delete mode 100755 bluetooth-check delete mode 100644 bluez diff --git a/bluetooth-check b/bluetooth-check deleted file mode 100755 index e056632..0000000 --- a/bluetooth-check +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -# Run "initctl log-priority info" to get debug from -# upstart about events being processed, or pass -# --debug to your kernel arguments - -emit_event() -{ - /sbin/initctl emit --no-wait $1 -} - -# If any of those paths are read-only, bail -if `mount | grep "on / type" | grep -q ro` ; then - return 1; -fi - -# If the action is add, we always have an adapter -if test "x$ACTION" = "xadd" ; then - emit_event fedora.bluetooth-adapter-available - exit 0 -fi - -# Check whether any devices are available -if `udevadm info --export-db | grep -q -e '/devices/.*/bluetooth/.*'` ; then - emit_event fedora.bluetooth-adapter-available -else - emit_event fedora.bluetooth-adapter-not-available -fi - -exit 0 diff --git a/bluez b/bluez deleted file mode 100644 index eecaf3d..0000000 --- a/bluez +++ /dev/null @@ -1,10 +0,0 @@ -# Automatically start bluetoothd when an adapter is plugged in -# - -start on fedora.bluetooth-adapter-available - -stop on runlevel [016] -stop on fedora.bluetooth-adapter-not-available - -exec /usr/sbin/bluetoothd --nodaemon -