summaryrefslogtreecommitdiffstats
path: root/remote/modules
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules')
-rw-r--r--remote/modules/kdm/data/etc/systemd/system/kdm.service2
-rwxr-xr-xremote/modules/nvidia_libs/data/addon-init12
2 files changed, 13 insertions, 1 deletions
diff --git a/remote/modules/kdm/data/etc/systemd/system/kdm.service b/remote/modules/kdm/data/etc/systemd/system/kdm.service
index 93bc2dd8..e07ae6fc 100644
--- a/remote/modules/kdm/data/etc/systemd/system/kdm.service
+++ b/remote/modules/kdm/data/etc/systemd/system/kdm.service
@@ -1,7 +1,7 @@
[Unit]
Description=KDM Display Manager
Conflicts=getty@tty7.service
-After=systemd-user-sessions.service getty@tty7.service
+After=systemd-user-sessions.service getty@tty7.service setup-slx-addon@nvidia_libs.service
[Service]
ExecStart=/usr/bin/kdm -nodaemon
diff --git a/remote/modules/nvidia_libs/data/addon-init b/remote/modules/nvidia_libs/data/addon-init
new file mode 100755
index 00000000..7e263976
--- /dev/null
+++ b/remote/modules/nvidia_libs/data/addon-init
@@ -0,0 +1,12 @@
+#!/bin/ash
+
+[ -e "/opt/openslx/etc/nvidia.whiteout" ] || exit 66
+
+while read line; do
+ rm -f -- "$line"
+done < "/opt/openslx/etc/nvidia.whiteout"
+
+ldconfig || ldconfig.real
+
+exit 0
+