X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/bc175c58b05a52549cf259c9a8cc455d63f5fa63..a4bdef9ca9051d829ee12f9f8ae36016f0c2136e:/package/base-files/files/lib/network/config.sh diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh index 0ab46c18a..d0aa33d1a 100755 --- a/package/base-files/files/lib/network/config.sh +++ b/package/base-files/files/lib/network/config.sh @@ -179,6 +179,9 @@ setup_interface_static() { done } + config_get type "$config" TYPE + [ "$type" = "alias" ] && return 0 + env -i ACTION="ifup" INTERFACE="$config" DEVICE="$iface" PROTO=static /sbin/hotplug-call "iface" & }