Allow IPv6 address entry in tools>ping - Loosens valid character check
[tomato/davidwu.git] / release / src / router / xl2tpd / packaging / openwrt / xl2tpd.init
blobb5344b51c028d1f92023c02afb721fee2bd21242
1 #!/bin/sh /etc/rc.common
3 START=60
4 BIN=xl2tpd
5 DEFAULT=/etc/default/$BIN
6 RUN_D=/var/run
7 PID_F=$RUN_D/$BIN.pid
9 start() {
10 [ -f $DEFAULT ] && . $DEFAULT
11 $BIN $OPTIONS
14 stop() {
15 [ -f $PID_F ] && kill $(cat $PID_F)