summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats
diff options
context:
space:
mode:
authorSimon Rettberg2019-03-12 12:38:35 +0100
committerSimon Rettberg2019-03-12 12:38:35 +0100
commitda1c228fd2557e5de50111b7aa48367bb81c355f (patch)
tree047018140e00b042a8713ab7d737d02b19e3cd8c /core/modules/hardware-stats
parent[rootfs-stage32/vmware-common] Always force 3D - don't lower hwversion (diff)
downloadmltk-da1c228fd2557e5de50111b7aa48367bb81c355f.tar.gz
mltk-da1c228fd2557e5de50111b7aa48367bb81c355f.tar.xz
mltk-da1c228fd2557e5de50111b7aa48367bb81c355f.zip
[hardware-stats] Show warning if using nouveau
Diffstat (limited to 'core/modules/hardware-stats')
-rwxr-xr-xcore/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats
index 55c9dfa8..3b4467fb 100755
--- a/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats
+++ b/core/modules/hardware-stats/data/opt/openslx/scripts/systemd-hardware_stats
@@ -330,6 +330,9 @@ buildlogfile() {
echo "ff0000" "* Der VM-Store konnte nicht eingehängt werden. VMs können nicht gestartet werden." >&4
echo "ff0000" " Versuchen Sie das Problem zu lösen, indem Sie den Computer neu starten." >&4
fi
+ if grep -q '^nouveau ' "/proc/modules"; then
+ echo "ff5500" "* Die nVidia-Karte in diesem Rechner wird nur von den quelloffenen Treibern (nouveau) unterstützt, und daher mit verminderter Leistung laufen." >&4
+ fi
if [ -n "$CONTACT_RZ" ]; then
echo "000000" " -- " >&4
echo "000000" " -- Wenden Sie sich ggf. an den bwLehrpool-Support Ihres Rechenzentrums -- " >&4