From caf8ec2e2623407dfd933959eaaea4f08612729f Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Sun, 31 May 2015 09:54:01 +0200 Subject: misc: add example initramfs setup --- misc/etc/initcpio/install/vtcol | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 misc/etc/initcpio/install/vtcol (limited to 'misc/etc/initcpio/install') diff --git a/misc/etc/initcpio/install/vtcol b/misc/etc/initcpio/install/vtcol new file mode 100644 index 0000000..3fb01c9 --- /dev/null +++ b/misc/etc/initcpio/install/vtcol @@ -0,0 +1,29 @@ +#!/bin/bash +############################################################################### +# Copyright 2015 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 <