summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hook/uname6
-rw-r--r--install/uname10
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."
+}