8b68888bd5
Closes-Bug: #1310655 Change-Id: Ic8fd53e3040577e0ea466767690ce72a39fb45fa
13 lines
295 B
Plaintext
13 lines
295 B
Plaintext
#!/bin/sh
|
|
<%- if @ipaddr_aliases -%>
|
|
<%- @ipaddr_aliases.each do |addr| -%>
|
|
ip addr add <%= addr %> dev <%= @interface %>
|
|
<%- end -%>
|
|
<%- end -%>
|
|
<%- if @ethtool_lines -%>
|
|
<%- @ethtool_lines.each do |key,line| -%>
|
|
ethtool <%= key %> <%= @interface %> <%= line %>
|
|
<%- end -%>
|
|
<%- end -%>
|
|
true
|