From: Michael Tremer Date: Wed, 13 Jan 2021 10:44:16 +0000 (+0000) Subject: AWS: Ensure the product UUID is uppercase X-Git-Tag: v2.25-core155~260 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=80b1dc64f2020c2771fd43460e6a07f348f0b4d9;hp=baa97123726d5e9d58af27595e7c9ad9bafa2a46;p=ipfire-2.x.git AWS: Ensure the product UUID is uppercase Newer kernels seem to return this in lowercase format which makes the comparison to "EC2" fail. Signed-off-by: Michael Tremer --- diff --git a/src/initscripts/system/functions b/src/initscripts/system/functions index 31b30e037f..d610a524d1 100644 --- a/src/initscripts/system/functions +++ b/src/initscripts/system/functions @@ -797,6 +797,9 @@ running_on_ec2() { if [ -r "/sys/devices/virtual/dmi/id/product_uuid" ]; then uuid=$(