lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit 0f562aa7c3af47e5a32b648e82dc648fd69d585a
parent d6ac08f843fb2b21f2a6e38a4782b28b0dc5b811
Author: Daniel Golle <daniel@makrotopia.org>
Date:   Fri,  5 Jun 2015 14:04:57 +0200

xl2tpd: don't let xl2tpd handle redial

netifd is taking care of that already.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

Diffstat:
Mnet/xl2tpd/Makefile | 2+-
Mnet/xl2tpd/files/l2tp.sh | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net/xl2tpd/Makefile b/net/xl2tpd/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=xl2tpd PKG_VERSION:=1.3.7pre20150524 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org> PKG_LICENSE:=GPL-2.0 PKG_LICENSE_FILES:=LICENSE diff --git a/net/xl2tpd/files/l2tp.sh b/net/xl2tpd/files/l2tp.sh @@ -86,7 +86,7 @@ proto_l2tp_setup() { echo "${ipv6:++ipv6} ${pppd_options}" >> "${optfile}" echo "${mtu:+mtu $mtu mru $mtu}" >> "${optfile}" - xl2tpd-control add l2tp-${interface} pppoptfile=${optfile} lns=${server} redial=yes redial timeout=20 || { + xl2tpd-control add l2tp-${interface} pppoptfile=${optfile} lns=${server} timeout=20 || { echo "xl2tpd-control: Add l2tp-$interface failed" >&2 proto_setup_failed "$interface" exit 1