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 -