Remove dead files

This commit is contained in:
Bastien Nocera 2009-06-12 18:00:28 +00:00
parent 700b7474d6
commit 64bcb5de64
2 changed files with 0 additions and 40 deletions

View File

@ -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

10
bluez
View File

@ -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