3 # Start or stop the OBEX Push daemon.
5 # Written by Michael Haynie <mbhaynie@zoominternet.net>
7 # It might be better to just edit the bluetooth script,
8 # since opd depends heavily on it.
11 PATH=/bin:/usr/bin:/sbin:/usr/sbin
13 [ -f /etc/default/rcS ] && . /etc/default/rcS
14 [ -f /etc/default/opd_args ] && . /etc/default/opd_args
18 echo -n "Starting the OBEX Push daemon: "
19 start-stop-daemon -S -x /usr/sbin/opd -- --daemonize $OPD_ARGS
27 echo -n "Stopping the OBEX Push daemon: "
28 start-stop-daemon -K \
38 echo "Usage: " $0 " {start|stop|restart|force-reload}"