X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/2fde9985573f0e2582561ad261e2cde77c1a0403..f1feb0b0a6201b25604807fa91b33900ab81af58:/openwrt/package/ppp/files/ifup.pppoe?ds=sidebyside 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" ] || {