1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-14 21:40:16 +02:00
openwrt-xburst/openwrt/package/rp-l2tp/files/rp-l2tpd.init
nico 6bba0718e5 add rp-l2tp package (closes: #459).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-06-04 13:23:07 +00:00

18 lines
217 B
Bash
Executable File

#!/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 $?