fixed i2c group detection

This commit is contained in:
jwihardi
2025-10-13 21:12:43 -04:00
parent 274a857dff
commit 4d83c5a8f9
+4 -1
View File
@@ -6,7 +6,10 @@
showfun install-python-packages
v install-python-packages
v getent group i2c || sudo groupadd i2c
if [[ -z $(getent group i2c) ]]; then
v sudo groupadd i2c
fi
v sudo usermod -aG video,i2c,input "$(whoami)"
if [[ ! -z $(systemctl --version) ]]; then