[small RFC] Set random MAC workarounds for specfic combinations instead of whole family

This commit is contained in:
Igor Pecovnik 2018-10-25 11:27:16 +02:00
parent b60934a9d0
commit 88d8a40f1e

View File

@ -119,13 +119,14 @@ case "$1" in
ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
systemctl restart systemd-networkd
;;
rockchip|rk3399|rockchip64|s5p6818|odroidc1)
set_fixed_mac
;;
*)
esac
# varios temporary hardware workarounds
[[ $BRANCH == dev && ( $LINUXFAMILY == rk3399 || $LINUXFAMILY == rockchip64 )]] && set_fixed_mac
[[ $BRANCH == dev && $LINUXFAMILY == rockchip ]] && set_fixed_mac
systemctl disable armbian-firstrun
exit 0
;;