summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats/data/opt/openslx/system-check/hooks.d/50-hardware-warnings
blob: 54894119d674c5675e3d0f683f3b3497ad6f0230 (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 grep -q '^nouveau ' "/proc/modules"; then
	echo 'slx-gfx-nouveau'
fi