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

Fix macvlan

This commit is contained in:
Ycarus 2018-07-01 07:29:41 +02:00
parent c1be5273b6
commit b9c990962a

View file

@ -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