diff options
author | Christian Hesse <mail@eworm.de> | 2013-05-27 10:58:47 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2013-05-27 10:58:47 +0200 |
commit | 46c6cef30a50a36952e45fdc1096b91a1780767b (patch) | |
tree | 6227819a1b2dc6addd21cabbc08bc38a65acd9ec | |
parent | 6447afeb3e45adea55f9b4b8790ed5598a11129a (diff) | |
download | mkinitcpio-uname-46c6cef30a50a36952e45fdc1096b91a1780767b.tar.gz mkinitcpio-uname-46c6cef30a50a36952e45fdc1096b91a1780767b.tar.zst |
Initial import0.1.0
-rw-r--r-- | hook/uname | 6 | ||||
-rw-r--r-- | install/uname | 10 |
2 files changed, 16 insertions, 0 deletions
diff --git a/hook/uname b/hook/uname new file mode 100644 index 0000000..4b5a9ed --- /dev/null +++ b/hook/uname @@ -0,0 +1,6 @@ +#!/bin/sh + +run_earlyhook() { + echo "Booting $(uname -srm)." + echo +} diff --git a/install/uname b/install/uname new file mode 100644 index 0000000..f0fd732 --- /dev/null +++ b/install/uname @@ -0,0 +1,10 @@ +#!/bin/sh + +build() { + add_runscript + # busybox provides uname, so we do not add it +} + +help() { + echo "This hook adds an uname output to the boot process." +} |