diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2015-05-31 09:54:01 +0200 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2015-05-31 09:54:01 +0200 |
commit | caf8ec2e2623407dfd933959eaaea4f08612729f (patch) | |
tree | 10c9e003108f01b077ffddec8ed1953dba3b092a /misc/etc/initcpio/install | |
parent | 5047d01be77832cc7a03608777122b471c4a9156 (diff) | |
download | vtcol-caf8ec2e2623407dfd933959eaaea4f08612729f.tar.gz |
misc: add example initramfs setup
Diffstat (limited to 'misc/etc/initcpio/install')
-rw-r--r-- | misc/etc/initcpio/install/vtcol | 29 |
1 files changed, 29 insertions, 0 deletions
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 <<ENOUGH +------------------------------------------------------------------------------- + vtcol +------------------------------------------------------------------------------- + + Set the frambuffer console color scheme + during early boot. + +------------------------------------------------------------------------------- +ENOUGH +} + +# vim:ft=sh:sw=4:et |