mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[package] base-files: fix error reporting for unsupported protocols on virtual interfaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27132 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -325,7 +325,7 @@ setup_interface() {
|
||||
}
|
||||
|
||||
# Interface settings
|
||||
grep "$iface:" /proc/net/dev > /dev/null && {
|
||||
grep -qE "^ *$iface:" /proc/net/dev && {
|
||||
local mtu macaddr txqueuelen
|
||||
config_get mtu "$config" mtu
|
||||
config_get macaddr "$config" macaddr
|
||||
|
||||
Reference in New Issue
Block a user