1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-23 00:02:54 +03:00
openwrt-xburst/openwrt/package/rp-l2tp/files/rp-l2tpd.init

18 lines
217 B
Plaintext
Raw Normal View History

#!/bin/sh
DEFAULT=/etc/default/rp-l2tpd
RUN_D=/var/run
[ -f $DEFAULT ] && . $DEFAULT
case $1 in
start)
[ -d $RUN_D ] || mkdir -p $RUN_D
l2tpd $OPTIONS
;;
*)
echo "usage: $0 (start)"
exit 1
esac
exit $?