3 # pand Bluetooth Personal Area Networking Daemon
7 # description: Bluetooth Personal Area Networking Daemon. Provides network services over Bluetooth.
12 # Source function library
13 . /etc/rc.d/init.d/functions
15 . /etc/sysconfig/network
17 [ -f /etc/sysconfig/bluetooth ] && . /etc/sysconfig/bluetooth
19 is_no "${NETWORKING}" && exit 0
22 # Check if the service is already running?
23 if [ ! -f /var/lock/subsys/pand ]; then
25 daemon /usr/bin/pand ${PAND_OPTIONS}
27 touch /var/lock/subsys/pand
29 msg_already_running pand
34 if [ -f /var/lock/subsys/pand ]; then
36 killproc /usr/bin/pand
37 rm -f /var/lock/subsys/pand
44 if [ -f /var/lock/subsys/pand ]; then
54 # See how we were called.
62 restart|reload|force-reload)
71 if [ -f /var/lock/subsys/pand ]; then
80 msg_usage "$0 {start|stop|restart|try-restart|reload|force-reload|status}"