link executor: add support for hwaddress option
This commit is contained in:
parent
b30f84fdbd
commit
68415ce71d
2 changed files with 8 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
IF_LINK_OPTIONS="$IF_LINK_OPTIONS"
|
||||
[ -n "$IF_MTU" ] && IF_LINK_OPTIONS="$IF_LINK_OPTIONS mtu $IF_MTU"
|
||||
[ -n "$IF_HWADDRESS" ] && IF_LINK_OPTIONS="$IF_LINK_OPTIONS address $IF_HWADDRESS"
|
||||
|
||||
is_vlan() {
|
||||
case "$IFACE" in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue