summaryrefslogtreecommitdiff
path: root/x-setup.service
diff options
context:
space:
mode:
Diffstat (limited to 'x-setup.service')
-rw-r--r--x-setup.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/x-setup.service b/x-setup.service
new file mode 100644
index 0000000..58ffa4a
--- /dev/null
+++ b/x-setup.service
@@ -0,0 +1,14 @@
+# This unit is meant to run only after install.
+
+[Unit]
+Description=GPUs and input devices setup
+ConditionKernelCommandLine=!cdroot
+Before=display-manager.service
+
+[Service]
+Type=oneshot
+RemainAfterExit=true
+ExecStart=/usr/libexec/x-setup.sh
+
+[Install]
+WantedBy=multi-user.target \ No newline at end of file