Skip to content
Snippets Groups Projects
Commit 3692c8f2 authored by nbd's avatar nbd
Browse files

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
parent 5d099491
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment