mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
fix ifup for pppoa
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1803 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -8,6 +8,7 @@ type=$1
|
||||
debug "### ifup $type ###"
|
||||
|
||||
if_proto=$(nvram get ${type}_proto)
|
||||
[ "${if_proto}" = "pppoa" ] || {
|
||||
if=$(nvram get ${type}_ifname)
|
||||
[ "${if%%[0-9]}" = "ppp" ] && if=$(nvram get ${if_proto}_ifname)
|
||||
|
||||
@@ -34,6 +35,7 @@ if [ "${if%%[0-9]}" = "br" ]; then
|
||||
else
|
||||
${mac:+$DEBUG ifconfig $if down hw ether $mac}
|
||||
fi
|
||||
}
|
||||
|
||||
case "$if_proto" in
|
||||
static)
|
||||
|
||||
Reference in New Issue
Block a user