Skip to content
Snippets Groups Projects
Commit 271a77fa authored by Felix Fietkau's avatar Felix Fietkau
Browse files

fix typos in ifdown (patch from #1319)

SVN-Revision: 6272
parent 06372957
No related branches found
No related tags found
No related merge requests found
......@@ -43,11 +43,11 @@ done
rm -f /var/run/${ifname}.pid /var/run/ppp-${cfg}.pid
config_get ifname "$cfg" ifname
config_get device "$cfg" ifname
config_get device "$cfg" device
[ ."$device" != ."$ifname" ] || device=
for dev in $ifname $device; do
ifconfig "$ifname" 0.0.0.0 down >/dev/null 2>/dev/null
ifconfig "$dev" 0.0.0.0 down >/dev/null 2>/dev/null
done
config_get iftype "$cfg" type
......
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