Changed files:
bluetooth.upstart -> 1.1
dund.upstart -> 1.1
pand.upstart -> 1.1
rfcomm.upstart -> 1.1
--- /dev/null
+description "Bluetooth subsystem starting and stopping. Turn HID adapters into Bluetooth ones."
+
+start on pld.sysinit-done
+stop on pld.shutdown-started
+
+script
+ /sbin/udevadm trigger --subsystem-match=bluetooth --action=add
+end script
--- /dev/null
+description "Bluetooth Dial-Up-Networking Daemon. Provides PPP over RFCOMM services."
+
+start on pld.sysinit-done
+stop on pld.shutdown-started
+
+script
+ [ -f /etc/sysconfig/bluetooth ] && . /etc/sysconfig/bluetooth
+
+ /usr/bin/dund ${DUND_OPTIONS}
+end script
--- /dev/null
+description "Bluetooth Personal Area Networking Daemon. Provides network services over Bluetooth."
+
+start on pld.sysinit-done
+stop on pld.shutdown-started
+
+script
+ [ -f /etc/sysconfig/bluetooth ] && . /etc/sysconfig/bluetooth
+
+ /usr/bin/pand ${PAND_OPTIONS}
+end script
--- /dev/null
+description "Bluetooth RFCOMM setup. Sets up serial devices over Bluetooth."
+
+start on pld.sysinit-done
+stop on pld.shutdown-started
+
+script
+ /usr/bin/rfcomm -f /etc/bluetooth/rfcomm.conf bind all
+end script
+
+post-stop script
+ /usr/bin/rfcomm release all
+end script