mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Enable fixed MAC settings for Nanopi R6 series and supress iozone related error
This commit is contained in:
@@ -16,7 +16,9 @@ case "$1" in
|
||||
start)
|
||||
|
||||
# Run a q&d benchmark to be able to identify cards way too slow easily
|
||||
if command -v "iozone" > /dev/null 2>&1; then
|
||||
echo -e "\n### quick iozone test:$(cd /root; iozone -e -I -a -s 1M -r 4k -i 0 -i 1 -i 2 | grep '^ 1024' | sed 's/ 1024 //')" >> $Log
|
||||
fi
|
||||
|
||||
# Bluetooth tweaks
|
||||
case ${BOARD} in
|
||||
@@ -98,8 +100,10 @@ case "$1" in
|
||||
esac
|
||||
|
||||
# varios temporary hardware workarounds
|
||||
[[ $LINUXFAMILY == meson ]] && set_fixed_mac
|
||||
[[ $LINUXFAMILY == meson64 ]] && set_fixed_mac
|
||||
[[ "${LINUXFAMILY}" == meson ]] && set_fixed_mac
|
||||
[[ "${LINUXFAMILY}" == meson64 ]] && set_fixed_mac
|
||||
[[ "${BOARD}" == nanopi-r6* ]] && set_fixed_mac
|
||||
|
||||
systemctl disable armbian-firstrun
|
||||
exit 0
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user