summaryrefslogtreecommitdiffstats
path: root/builder/modules.d/slx-splash/scripts/restore-cursor.sh
diff options
context:
space:
mode:
authorJonathan Bauer2020-05-13 11:04:02 +0200
committerJonathan Bauer2020-05-13 11:04:02 +0200
commit1130873aa55c9b0a7e5af48edc44bd6c6fd1f888 (patch)
tree0fcfa186cd631d8d36611b3d4bc509fd38841d51 /builder/modules.d/slx-splash/scripts/restore-cursor.sh
parentMerge branch 'centos8' into downloader (diff)
downloadsystemd-init-1130873aa55c9b0a7e5af48edc44bd6c6fd1f888.tar.gz
systemd-init-1130873aa55c9b0a7e5af48edc44bd6c6fd1f888.tar.xz
systemd-init-1130873aa55c9b0a7e5af48edc44bd6c6fd1f888.zip
restructure repo
* remove packager * move everything from builder/* back to root
Diffstat (limited to 'builder/modules.d/slx-splash/scripts/restore-cursor.sh')
-rw-r--r--builder/modules.d/slx-splash/scripts/restore-cursor.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/builder/modules.d/slx-splash/scripts/restore-cursor.sh b/builder/modules.d/slx-splash/scripts/restore-cursor.sh
deleted file mode 100644
index 4ba9880d..00000000
--- a/builder/modules.d/slx-splash/scripts/restore-cursor.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env bash
-#
-# The console cursor is disabled when starting the splash screen.
-# This will add a drop-in to getty@.service to ensure the cursor
-# is restored when starting gettys.
-
-mkdir -p "$NEWROOT/etc/systemd/system/getty@.service.d/"
-cat <<- EOF > "$NEWROOT/etc/systemd/system/getty@.service.d/restore-cursor.conf"
- [Service]
- ExecStartPre=-/usr/bin/env bash -c "echo -en '\033c' > /dev/%I"
-EOF