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
23 daemon /usr/bin/dund ${DUND_OPTIONS}
25 touch /var/lock/subsys/dund
27 msg_already_running dund
32 if [ -f /var/lock/subsys/dund ]; then
34 killproc /usr/bin/dund
35 rm -f /var/lock/subsys/dund
42 if [ -f /var/lock/subsys/dund ]; then
52 # See how we were called.
60 restart|reload|force-reload)
68 if [ -f /var/lock/subsys/dund ]; then
75 msg_usage "$0 {start|stop|restart|try-restart|reload|force-reload|status}"