packages/net/rp-l2tp/files/rp-l2tpd.init
florian 8bcf979ee7 Port rp-l2tpd to -ng
git-svn-id: svn://svn.openwrt.org/openwrt/packages@4506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2006-08-07 12:47:31 +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 $?