Changeset 782


Ignore:
Timestamp:
2005-05-01T13:01:41+02:00 (13 years ago)
Author:
wbx
Message:

mru and mtu need to be on separate lines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/openwrt/package/ppp/ipkg/ppp-pppoe-plugin/etc/init.d/S50pppoe

    r685 r782  
    1919                IDLETIME=$(nvram get ppp_idletime) 
    2020                IDLETIME=${IDLETIME:+lcp-echo-failure $IDLETIME} 
    21                 MTU=$(nvram get ppp_mtu) 
    22                 MTU=${MTU:+ mtu $MTU mru $MTU} 
     21                MTUV=$(nvram get ppp_mtu) 
     22                MTU=${MTUV:+mtu $MTUV} 
     23                MRU=${MTUV:+mru $MTUV} 
    2324 
    2425                ifconfig $IFNAME up 
    25                 echo -e "plugin rp-pppoe.so\nconnect /bin/true\nusepeerdns\ndefaultroute\nuser \"$USERNAME\"\npassword \"$PASSWORD\"\n$MTU\n$IDLETIME\n$REDIAL" > /tmp/.pppoe-data 
     26                echo -e "plugin rp-pppoe.so\nconnect /bin/true\nusepeerdns\ndefaultroute\nuser \"$USERNAME\"\npassword \"$PASSWORD\"\n$MTU\n$MRU\n$IDLETIME\n$REDIAL" > /tmp/.pppoe-data 
    2627                /usr/sbin/pppd nodetach file /tmp/.pppoe-data $IFNAME 
    2728        done 
Note: See TracChangeset for help on using the changeset viewer.