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:
parent
20d8ea6072
commit
aaea43b358
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue