summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats/data/opt/openslx/system-check/hooks.d/50-hardware-warnings
blob: 3e8f8210441fdeb1b7de6f11af5cb1ed47e9063b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/ash
# This file is executed in /opt/openslx/scripts/systemd-generate_warnings
# If a first parameter is given, we write to that file instead of stdout.

. /opt/openslx/config
. /run/hwinfo

if [ -n "$1" ]; then
	exec >> "$1"
fi

if lspci -nk | grep -q 'Kernel driver in use: nouveau'; then
	echo 'slx-gfx-nouveau'
fi