--- file_not_specified_in_diff +++ file_not_specified_in_diff @@ -, +, @@ --- /etc/net/scripts/contrib/initconf.unmod 2022-07-28 14:32:29.000000000 +0000 +++ /etc/net/scripts/contrib/initconf 2023-02-09 11:33:48.812661019 +0000 @@ -89,7 +89,8 @@ esac fi # many others try to look as ethernet, so let's filter by iface name... - if [ "${iface//[0-9]*/}" = "eth" ]; then + #if [ "${iface//[0-9]*/}" = "eth" ]; then + if [ "${iface}" = "enp4s0" ]; then # find and use link-level address LLADDR=`$IP li sh dev $iface | fgrep 'link/ether' | sed 's/^ *link\/ether //' | cut --delimiter=' ' --fields=1` # ...and by valid MAC address