fix Description (add dot to blank lines)
[openwrt.git] / openwrt / package / ppp / files / ifup.pppoe
index 6bac6a6..dbf58c3 100644 (file)
@@ -1,6 +1,8 @@
 #!/bin/sh
 [ $# = 0 ] && { echo "  $0 <group>"; exit; }
 . /etc/functions.sh
+. /etc/nvram.overrides
+[ -e /etc/config/network ] && . /etc/config/network
 type=$1
 
 [ "$(nvram get ${type}_proto)" = "pppoe" ] || {
@@ -21,6 +23,7 @@ while :; do
        IDLETIME=$(nvram get ppp_idletime)
        IDLETIME=${IDLETIME:+lcp-echo-failure $IDLETIME}
        MTU=$(nvram get ppp_mtu)
+       MTU=${MTU:-1492}
        MTU=${MTU:+ mtu $MTU mru $MTU}
 
        ifconfig $IFNAME up
This page took 0.023808 seconds and 4 git commands to generate.