X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/3f921c7009ec50f481bebd6c7575206b8d57b874..7f27794c4e14fa39aa9edc1c614b46669b95daaf:/openwrt/package/base-files/default/sbin/ifup?ds=sidebyside diff --git a/openwrt/package/base-files/default/sbin/ifup b/openwrt/package/base-files/default/sbin/ifup index 67e01a3e9..8ae641668 100755 --- a/openwrt/package/base-files/default/sbin/ifup +++ b/openwrt/package/base-files/default/sbin/ifup @@ -23,7 +23,7 @@ case "$if_proto" in none|"") exit 0;; esac -[ "${if%%[0-9]*}" = "ppp" ] && if="$(nvram get ${if_proto}_ifname)" +[ "${if%%[0-9]*}" = "ppp" ] && if="$(nvram get ${type}_device)" if [ "${if%%[0-9]}" = "br" ]; then for sif in $(nvram get ${type}_ifnames); do