aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/uname4
1 files changed, 3 insertions, 1 deletions
diff --git a/install/uname b/install/uname
index 153a646..cc9a88a 100644
--- a/install/uname
+++ b/install/uname
@@ -1,7 +1,9 @@
#!/bin/sh
build() {
- if add_systemd_unit uname.service 2>/dev/null; then
+ if command -v add_systemd_unit >/dev/null; then
+ add_systemd_unit "uname.service"
+
# busybox provides uname, but the base hook is not prerequisite
# for a systemd-enable initramfs - so add uname
add_binary uname