summaryrefslogtreecommitdiff
path: root/misc/arch/etc/initcpio/install
diff options
context:
space:
mode:
Diffstat (limited to 'misc/arch/etc/initcpio/install')
-rw-r--r--misc/arch/etc/initcpio/install/vtcol29
1 files changed, 29 insertions, 0 deletions
diff --git a/misc/arch/etc/initcpio/install/vtcol b/misc/arch/etc/initcpio/install/vtcol
new file mode 100644
index 0000000..400ec07
--- /dev/null
+++ b/misc/arch/etc/initcpio/install/vtcol
@@ -0,0 +1,29 @@
+#!/bin/bash
+###############################################################################
+# Copyright 2015--2017 Philipp Gesang
+# Example mkinitcpio build hook invoking vtcol in the initramfs environment
+###############################################################################
+#
+# See mkinitcpio(8) for details.
+#
+# This does nothing besides invoking ``add_runscript`` to add the vtcol
+# initcpio hook and displaying some basic info.
+
+build () {
+ add_runscript
+}
+
+help () {
+ cat <<ENOUGH
+-------------------------------------------------------------------------------
+ vtcol
+-------------------------------------------------------------------------------
+
+ Set the frambuffer console color scheme
+ during early boot.
+
+-------------------------------------------------------------------------------
+ENOUGH
+}
+
+# vim:ft=sh:sw=4:et