3 # dund Bluetooth Dial-Up-Networking Daemon
7 # description: Bluetooth Dial-Up-Networking Daemon. Provides PPP over RFCOMM services.
12 # Source function library
13 . /etc/rc.d/init.d/functions
15 [ -f /etc/sysconfig/bluetooth ] && . /etc/sysconfig/bluetooth
17 is_no "${NETWORKING}" && exit 0
20 # Check if the service is already running?
21 if [ -f /var/lock/subsys/dund ]; then
22 msg_already_running dund
27 daemon /usr/bin/dund ${DUND_OPTIONS}
29 touch /var/lock/subsys/dund
33 if [ ! -f /var/lock/subsys/dund ]; then
39 killproc /usr/bin/dund
40 rm -f /var/lock/subsys/dund
44 if [ ! -f /var/lock/subsys/dund ]; then
55 if [ ! -f /var/lock/subsys/dund ]; then
65 # See how we were called.
73 restart|reload|force-reload)
85 msg_usage "$0 {start|stop|restart|try-restart|reload|force-reload|status}"