[debian-edu-commits] [Git][debian-edu/upstream/sitesummary][personal/gber/lspci-workaround] Disable usage of lspci on clients by default
Guido Berhörster (@gber)
gitlab at salsa.debian.org
Tue Aug 22 13:02:12 BST 2023
Guido Berhörster pushed to branch personal/gber/lspci-workaround at Debian Edu / upstream / sitesummary
Commits:
8ca4df7c by Guido Berhoerster at 2023-08-22T14:01:56+02:00
Disable usage of lspci on clients by default
This works around a bug that turns off the screen on certain Intel NUC models.
It can be re-enabled by setting the environment variable ENABLE_LSPCI to an
arbitrary value.
- - - - -
1 changed file:
- collect.d/system
Changes:
=====================================
collect.d/system
=====================================
@@ -13,7 +13,7 @@ if type dmidecode >/dev/null 2>&1; then
dmidecode > dmidecode 2> /dev/null
fi
-if [ -d /proc/bus/pci ] && type lspci >/dev/null 2>&1; then
+if [ -d /proc/bus/pci ] && [ -n "${ENABLE_LSPCI}" ] && type lspci >/dev/null 2>&1; then
lspci > lspci
lspci -n > lspci-n
fi
View it on GitLab: https://salsa.debian.org/debian-edu/upstream/sitesummary/-/commit/8ca4df7ca1c44fb2c69dee31afc535f7102ddc34
--
View it on GitLab: https://salsa.debian.org/debian-edu/upstream/sitesummary/-/commit/8ca4df7ca1c44fb2c69dee31afc535f7102ddc34
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20230822/c92225ca/attachment.htm>
More information about the debian-edu-commits
mailing list