summaryrefslogtreecommitdiffstats
path: root/core/modules/vmware-version-check/data/opt/openslx/bin/vmware-get-supported-version
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/vmware-version-check/data/opt/openslx/bin/vmware-get-supported-version')
-rwxr-xr-xcore/modules/vmware-version-check/data/opt/openslx/bin/vmware-get-supported-version4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/vmware-version-check/data/opt/openslx/bin/vmware-get-supported-version b/core/modules/vmware-version-check/data/opt/openslx/bin/vmware-get-supported-version
index c8c43666..b32e1187 100755
--- a/core/modules/vmware-version-check/data/opt/openslx/bin/vmware-get-supported-version
+++ b/core/modules/vmware-version-check/data/opt/openslx/bin/vmware-get-supported-version
@@ -14,8 +14,8 @@ if [ -z "$VIRTTYPE" ]; then
exit 0
fi
-[ -e "/dev/cpu/0/msr" ] \
- || modprobe msr \
+[ -e "/dev/cpu/0/msr" ] \
+ || modprobe msr 2> /dev/null \
|| insmod "$NEWROOT/lib/modules/$( uname -r )/kernel/arch/x86/kernel/msr.ko"*
# * because it might be compressed -> msr.ko.zstd ...