From ed947e0d02f6761228c7bfd58e6654232dcdf674 Mon Sep 17 00:00:00 2001 From: EndermanXD <82046100+EndermanCo@users.noreply.github.com> Date: Fri, 26 Jul 2024 13:13:31 +0330 Subject: [PATCH] Create envycontrol.sh --- iso/airootfs/etc/systemd/system/envycontrol.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 iso/airootfs/etc/systemd/system/envycontrol.sh diff --git a/iso/airootfs/etc/systemd/system/envycontrol.sh b/iso/airootfs/etc/systemd/system/envycontrol.sh new file mode 100644 index 0000000..dd3b9fd --- /dev/null +++ b/iso/airootfs/etc/systemd/system/envycontrol.sh @@ -0,0 +1,7 @@ +#!/bin/bash +if [[ -f "/etc/modprobe.d/nvidia.conf" ]]; then + systemctl disable envycontrol.service +else + envycontrol -s nvidia --dm sddm +fi +