mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
fix ppp related bug in the network scripts
SVN-Revision: 4437
This commit is contained in:
parent
20922bcde7
commit
8cad57f8c2
@ -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 New Issue
Block a user