fix ppp related bug in the network scripts
SVN-Revision: 4437
This commit is contained in:
parent
20922bcde7
commit
8cad57f8c2
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue