diff options
author | Felix Fietkau <nbd@openwrt.org> | 2006-08-04 09:50:11 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2006-08-04 09:50:11 +0000 |
commit | b858ed4dbae8d5f47a52631ca20a1d681300f029 (patch) | |
tree | d69b86ed6fd2a87e1893ff65414175137f51dcf8 /package/base-files/default/lib/network/config.sh | |
parent | 834f9176191f8a245cd1bc856e37f99e94b47f6f (diff) | |
download | master-187ad058-b858ed4dbae8d5f47a52631ca20a1d681300f029.tar.gz master-187ad058-b858ed4dbae8d5f47a52631ca20a1d681300f029.tar.bz2 master-187ad058-b858ed4dbae8d5f47a52631ca20a1d681300f029.zip |
fix ppp related bug in the network scripts
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4437 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/default/lib/network/config.sh')
-rwxr-xr-x | package/base-files/default/lib/network/config.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/base-files/default/lib/network/config.sh b/package/base-files/default/lib/network/config.sh index 76db09de15..163e42e800 100755 --- a/package/base-files/default/lib/network/config.sh +++ b/package/base-files/default/lib/network/config.sh @@ -13,7 +13,8 @@ find_config() { config_get iface "$ifn" ifnames ;; esac - for ifc in $iface; do + config_get device "$ifn" device + for ifc in ${device:-iface}; do [ "$ifc" = "$1" ] && { echo "$ifn" return 0 |