[X2Go-Commits] [live-build-x2go] 66/108: This adds an initrdblankdpmsfix parameter - as the name suggests, it will trigger the blankdpmsfix early in the initrd already
git-admin at x2go.org
git-admin at x2go.org
Wed Mar 20 22:13:18 CET 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/openbox
in repository live-build-x2go.
commit 8c5f78d8ff045adb7938cc52cdec5c73c448818e
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date: Sun Jan 6 00:48:05 2019 +0000
This adds an initrdblankdpmsfix parameter - as the name suggests, it will trigger the blankdpmsfix early in the initrd already
---
.../initramfs-tools/hooks/0000-initrdblankdpmsfix | 26 ++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/config/includes.chroot/etc/initramfs-tools/hooks/0000-initrdblankdpmsfix b/config/includes.chroot/etc/initramfs-tools/hooks/0000-initrdblankdpmsfix
new file mode 100755
index 0000000..de63dcc
--- /dev/null
+++ b/config/includes.chroot/etc/initramfs-tools/hooks/0000-initrdblankdpmsfix
@@ -0,0 +1,26 @@
+#!/bin/sh
+# inject screen blanking/unblanking script into initrd
+
+PREREQ=""
+prereqs()
+{
+ echo "$PREREQ"
+}
+
+case $1 in
+prereqs)
+ prereqs
+ exit 0
+ ;;
+esac
+
+. /usr/share/initramfs-tools/hook-functions
+# Begin real processing below this line
+
+if [ ! -x "../../lib/live/config/0000-earlyblankdpmsfix" ]; then
+ exit 0
+fi
+
+sed -e 's/early/initrd/g' -e 's/Early/Initrd/g' ../../lib/live/config/0000-earlyblankdpmsfix >"${DESTDIR}/bin/boot/0000-initrdblankdpmsfix"
+chmod 755 "${DESTDIR}/bin/boot/0000-initrdblankdpmsfix"
+exit 0
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
More information about the x2go-commits
mailing list