mirror of https://github.com/hak5/openwrt.git
fix inconsistent pppoe nvram settings (use linksys options)
SVN-Revision: 677lede-17.01
parent
3243e8c65f
commit
cfb5b9b800
|
@ -15,9 +15,9 @@ done
|
||||||
USERNAME=$(nvram get ppp_username)
|
USERNAME=$(nvram get ppp_username)
|
||||||
PASSWORD=$(nvram get ppp_passwd)
|
PASSWORD=$(nvram get ppp_passwd)
|
||||||
REDIAL=$(nvram get ppp_redialperiod)
|
REDIAL=$(nvram get ppp_redialperiod)
|
||||||
REDIAL=${REDIAL:+holdoff $REDIAL}
|
REDIAL=${REDIAL:+lcp-echo-interval $REDIAL}
|
||||||
IDLETIME=$(nvram get ppp_idletime)
|
IDLETIME=$(nvram get ppp_idletime)
|
||||||
IDLETIME=${IDLETIME:+idle $IDLETIME}
|
IDLETIME=${IDLETIME:+lcp-echo-failure $IDLETIME}
|
||||||
MTU=$(nvram get ppp_mtu)
|
MTU=$(nvram get ppp_mtu)
|
||||||
MTU=${MTU:+ mtu $MTU mru $MTU}
|
MTU=${MTU:+ mtu $MTU mru $MTU}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue