]>
git.ipfire.org Git - ipfire-2.x.git/blob - src/initscripts/init.d/bluetooth
2 # Begin $rc_base/init.d/bluetooth
4 # Based on sysklogd script from LFS-3.1 and earlier.
5 # Rewritten by Gerard Beekmans - gerard@linuxfromscratch.org
12 boot_mesg
"Starting Bluetooth daemon..."
13 loadproc
/usr
/sbin
/hcid
16 # The passkey-agent is only needed for pairing
17 #boot_mesg "Starting Bluetooth passkey-agent..."
18 #loadproc /usr/bin/passkey-agent --default 12345 &
20 # Bind rfcomm to a blootooth cellphone/modem
21 #boot_mesg "Bind rfcomm0 to cellphone/modem..."
22 #rfcomm bind /dev/rfcomm0 00:11:22:33:44:55 1
27 #boot_mesg "Realease rfcomm0..."
28 #rfcomm release rfcomm0
29 #boot_mesg "Stopping Bluetooth passkey-agent..."
30 #killproc /usr/bin/passkey-agent
31 boot_mesg
"Stopping Bluetooth daemon..."
32 killproc
/usr
/sbin
/hcid
42 statusproc
/usr
/sbin
/hcid
43 statusproc
/usr
/bin
/passkey-agent
48 echo "Usage: $0 {start|stop|restart|status}"
53 # End $rc_base/init.d/bluetooth