1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 22:21:51 +02:00

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
This commit is contained in:
nbd 2006-08-04 09:50:11 +00:00
parent 5d099491cf
commit 3692c8f246

View File

@ -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