X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2fde9985573f0e2582561ad261e2cde77c1a0403..65157ef12a8118a41bf16f73e2c03ba1bc9da7a3:/openwrt/package/ppp/files/ifup.pppoe diff --git a/openwrt/package/ppp/files/ifup.pppoe b/openwrt/package/ppp/files/ifup.pppoe index 6bac6a6d1..94179a3ea 100644 --- a/openwrt/package/ppp/files/ifup.pppoe +++ b/openwrt/package/ppp/files/ifup.pppoe @@ -1,6 +1,8 @@ #!/bin/sh [ $# = 0 ] && { echo " $0 "; exit; } . /etc/functions.sh +. /etc/nvram.overrides +[ -e /etc/config/network ] && . /etc/config/network type=$1 [ "$(nvram get ${type}_proto)" = "pppoe" ] || {