Files
dont-stop-folding/root/etc/s6-overlay/s6-rc.d/init-foldingathome-video/run
2026-04-04 01:46:57 +02:00

11 lines
292 B
Plaintext
Executable File

#!/usr/bin/with-contenv bash
# shellcheck shell=bash
# Make GPU devices accessible if present (running as root in HAOS)
FILES=$(find /dev/dri /dev/dvb -type c -print 2>/dev/null)
for i in $FILES; do
echo "**** found GPU device: ${i} ****"
chmod a+rw "${i}" 2>/dev/null || true
done