gst1-plugins-base: bump to version 1.10.4
[buildroot-gz.git] / package / xl2tp / xl2tpd
blob36c12a23f28e7002ad2f1a85e5da01330dfdd989
1 #!/bin/sh
3 PATH=/bin:/usr/bin:/sbin:/usr/sbin
4 DAEMON=/usr/sbin/xl2tpd
5 PIDFILE=/var/run/xl2tpd.pid
7 test -f $DAEMON || exit 0
9 case "$1" in
10 start)
11 start-stop-daemon -S -p $PIDFILE -x $DAEMON -- -D &
13 stop)
14 start-stop-daemon -K -p $PIDFILE -x $DAEMON
16 restart|force-reload)
17 start-stop-daemon -K -p $PIDFILE -x $DAEMON
18 sleep 1
19 start-stop-daemon -S -p $PIDFILE -x $DAEMON
22 echo "Usage: /etc/init.d/xl2tdp {start|stop|restart|force-reload}"
23 exit 1
25 esac
27 exit 0