Create envycontrol.sh
This commit is contained in:
parent
26f9e8e4d4
commit
ed947e0d02
1 changed files with 7 additions and 0 deletions
7
iso/airootfs/etc/systemd/system/envycontrol.sh
Normal file
7
iso/airootfs/etc/systemd/system/envycontrol.sh
Normal file
|
@ -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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue