From: Nicolas Thill Date: Sat, 20 May 2006 15:27:09 +0000 (+0000) Subject: fix pptp idletime setting. X-Git-Tag: whiterussian_rc6~242 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=907fadf19f60ab2d0e292ccf60fa6536b60b10b9;p=openwrt%2Fsvn-archive%2Fopenwrt.git fix pptp idletime setting. SVN-Revision: 3806 --- diff --git a/openwrt/package/pptp/files/ifup.pptp b/openwrt/package/pptp/files/ifup.pptp index bbcc4d5720..5019f5a94b 100644 --- a/openwrt/package/pptp/files/ifup.pptp +++ b/openwrt/package/pptp/files/ifup.pptp @@ -23,7 +23,7 @@ done case "$DEMAND" in on|1|enabled) DEMAND=$(nvram get ppp_idletime) - DEMAND=${IDLETIME:+demand idle $IDLETIME} + DEMAND=${DEMAND:+demand idle $DEMAND} [ -f /etc/ppp/filter ] && DEMAND=${DEMAND:+precompiled-active-filter /etc/ppp/filter $DEMAND} ;; *) DEMAND="";;