blob: 2011c28e84417a4d0247fea6e4a69965e90fb87f (
plain)
1 #!/bin/sh
2 #
3 # /etc/rc.d/bluetooth: start/stop bluetooth daemon
4 #
5
6 # Note:
7 # To connect to an input device at boot time, add:
8 # hidd --connect XX:XX:XX:XX:XX:XX
9
10 case $1 in
11 start)
12 /usr/sbin/bluetoothd
13 ;;
14 stop)
15 killall -e -q bluetoothd
16 ;;
17 restart)
18 $0 stop
19 sleep 2
20 $0 start
21 ;;
22 *)
23 echo "usage: $0 [start|stop|restart]"
24 ;;
25 esac
26
27 # End of file
|