From: Nicolas Thill Date: Thu, 12 Jan 2006 17:43:36 +0000 (+0000) Subject: fix on-demand pppoe connections X-Git-Tag: whiterussian_rc5~244 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=b5576f8a1cd2e9864a1fe1fd5739036977c64b1e;p=openwrt%2Fsvn-archive%2Fopenwrt.git fix on-demand pppoe connections SVN-Revision: 2939 --- diff --git a/openwrt/package/ppp/files/ifup.pppoe b/openwrt/package/ppp/files/ifup.pppoe index 82ab86c7a9..176ef9015f 100644 --- a/openwrt/package/ppp/files/ifup.pppoe +++ b/openwrt/package/ppp/files/ifup.pppoe @@ -22,7 +22,7 @@ done case "$DEMAND" in on|1|enabled) DEMAND=$(nvram get ppp_idletime) - DEMAND=${IDLETIME:+demand idle $IDLETIME} + DEMAND=${DEMAND:+demand idle $DEMAND} ;; *) DEMAND="";; esac