mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 11:01:50 +00:00
Fix macvlan
This commit is contained in:
parent
c1be5273b6
commit
b9c990962a
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ _setup_interface() {
|
||||||
eth*.*) return ;;
|
eth*.*) return ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
[[ $1 =~ "_dev" ]] && {
|
[ "$(echo $1 | grep _dev)" != "" ] && {
|
||||||
local _intfdev=$(sed 's/_dev//' $1)
|
local _intfdev=$(sed 's/_dev//' $1)
|
||||||
uci -q get "network.$_intfdev.ifname" >/dev/null && {
|
uci -q get "network.$_intfdev.ifname" >/dev/null && {
|
||||||
uci -q batch <<-EOF
|
uci -q batch <<-EOF
|
||||||
|
|
Loading…
Reference in a new issue