mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-14 13:49:42 +02:00
18 lines
217 B
Plaintext
18 lines
217 B
Plaintext
|
#!/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 $?
|