1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-14 19:41:51 +00:00

Add a sleep to have different macaddress for macvlan

This commit is contained in:
Ycarus 2018-02-22 12:02:41 +01:00
parent 20d8ea6072
commit aaea43b358

View file

@ -25,6 +25,8 @@ _setup_interface() {
config_get _type "$1" type
[ "$_type" = "macvlan" ] || return 0
sleep 1
uci -q batch <<-EOF
set network.$1_dev=device
set network.$1_dev.name=$1