From e3b850ecb0ad1149f67d5ff583ad2cd893a08ecf Mon Sep 17 00:00:00 2001 From: AuxXxilium Date: Sat, 26 Oct 2024 13:02:18 +0200 Subject: [PATCH] arc-functions: changes for upcoming Signed-off-by: AuxXxilium --- files/initrd/opt/arc/arc-functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/initrd/opt/arc/arc-functions.sh b/files/initrd/opt/arc/arc-functions.sh index 48950a69..0459b01b 100755 --- a/files/initrd/opt/arc/arc-functions.sh +++ b/files/initrd/opt/arc/arc-functions.sh @@ -2081,7 +2081,7 @@ function getpatfiles() { ############################################################################### # Generate HardwareID function genHardwareID() { - HWID="$(echo $(dmidecode -t 4 | grep ID | sed 's/.*ID://;s/ //g') \ $(ifconfig | grep eth0 | awk '{print $NF}' | sed 's/://g') | sha256sum | awk '{print $1}' | cut -c1-12)" 2>/dev/null + HWID="$(echo $(ifconfig | grep eth0 | awk '{print $NF}' | sed 's/://g') | sha256sum | awk '{print $1}' | cut -c1-16)" 2>/dev/null writeConfigKey arc.hwid "${HWID}" "${USER_CONFIG_FILE}" if [ -n "${HWID}" ]; then HWDB="$(curl -skL "https://auxxxilium.tech/hwid.yml")"