mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-14 21:40:16 +02:00
6bba0718e5
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3902 3c298f89-4303-0410-b956-a3cf2f4a3e73
18 lines
217 B
Bash
Executable File
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 $?
|