openwrtv3/openwrt/package/rp-l2tp/files/rp-l2tpd.init
Nicolas Thill 5530a20e60 add rp-l2tp package (closes: #459).
SVN-Revision: 3902
2006-06-04 13:23:07 +00:00

17 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 $?