clean up mtu handling in ppp init scripts
SVN-Revision: 2181
This commit is contained in:
parent
d78910fbec
commit
93d8e3112b
@ -25,7 +25,6 @@ while :; do
|
||||
IDLETIME=${IDLETIME:+lcp-echo-failure $IDLETIME}
|
||||
MTU=$(nvram get ppp_mtu)
|
||||
MTU=${MTU:-1500}
|
||||
MTU=${MTU:+ mtu $MTU mru $MTU}
|
||||
|
||||
/usr/sbin/pppd nodetach \
|
||||
plugin pppoatm.so ${VPI:-8}.${VCI:-35} \
|
||||
@ -34,7 +33,7 @@ while :; do
|
||||
linkname $type \
|
||||
user "$USERNAME" \
|
||||
password "$PASSWORD" \
|
||||
$MTU \
|
||||
mtu $MTU mru $MTU
|
||||
$IDLETIME \
|
||||
$REDIAL
|
||||
|
||||
|
@ -24,7 +24,6 @@ while :; do
|
||||
IDLETIME=${IDLETIME:+lcp-echo-failure $IDLETIME}
|
||||
MTU=$(nvram get ppp_mtu)
|
||||
MTU=${MTU:-1492}
|
||||
MTU=${MTU:+ mtu $MTU mru $MTU}
|
||||
|
||||
ifconfig $IFNAME up
|
||||
/usr/sbin/pppd nodetach \
|
||||
@ -35,7 +34,7 @@ while :; do
|
||||
linkname $type \
|
||||
user "$USERNAME" \
|
||||
password "$PASSWORD" \
|
||||
$MTU \
|
||||
mtu $MTU mru $MTU
|
||||
$IDLETIME \
|
||||
$REDIAL \
|
||||
nic-$IFNAME
|
||||
|
Loading…
Reference in New Issue
Block a user