diff options
Diffstat (limited to 'distro/devuan.sh')
| -rw-r--r-- | distro/devuan.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/distro/devuan.sh b/distro/devuan.sh index 8e32dbb..8348ecf 100644 --- a/distro/devuan.sh +++ b/distro/devuan.sh @@ -42,6 +42,7 @@ PACKAGES="${PACKAGES:-yes}" FONTS="${FONTS:-yes}" DWM="${DWM:-no}" RUSTICL="${RUSTICL:-yes}" +THUNDERBOLT="${THUNDERBOLT:-yes}" @@ -80,6 +81,13 @@ sudo apt install -y git curl \ fi +if [ "$THUNDERBOLT" = "yes" ] ; then +cat > /etc/udev/rules.d/99-removable.rules <<EOF +# /etc/udev/rules.d/99-removable.rules +ACTION=="add", SUBSYSTEM=="thunderbolt", ATTR{authorized}=="0", ATTR{authorized}="1" +EOF +fi + if [ "$RUSTICL" = "yes" ] ; then sudo apt install -y \ mesa-opencl-icd |
