aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2013-10-01 13:40:57 +0200
committerGravatar Christian Hesse <mail@eworm.de>2013-10-01 13:40:57 +0200
commit0ab4f48caafb7dfd496fe51d3c5db129e95f65a5 (patch)
tree214f412467be6541b666e24616bf7f136cf4f60a /systemd
parent01f0ccb7edffb33dd0cce299b8837b682b376957 (diff)
downloadmkinitcpio-uname-0ab4f48caafb7dfd496fe51d3c5db129e95f65a5.tar.gz
mkinitcpio-uname-0ab4f48caafb7dfd496fe51d3c5db129e95f65a5.tar.zst
update for systemd in initramfs
Diffstat (limited to 'systemd')
-rw-r--r--systemd/uname4
-rw-r--r--systemd/uname.service10
2 files changed, 14 insertions, 0 deletions
diff --git a/systemd/uname b/systemd/uname
new file mode 100644
index 0000000..7143927
--- /dev/null
+++ b/systemd/uname
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+echo " Booting $(uname -srm)."
+echo
diff --git a/systemd/uname.service b/systemd/uname.service
new file mode 100644
index 0000000..53373e6
--- /dev/null
+++ b/systemd/uname.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=uname
+DefaultDependencies=no
+Before=sysinit.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+StandardOutput=tty
+ExecStart=/usr/lib/systemd/scripts/uname