summaryrefslogtreecommitdiffstats
path: root/modules.d/busybox/install-busybox.sh
diff options
context:
space:
mode:
authorSimon Rettberg2024-01-25 15:47:09 +0100
committerSimon Rettberg2024-01-29 09:53:08 +0100
commitabb148916593de63554ef58c53cb1dd8fbbb0ab1 (patch)
treed8c640c33f699f3abc567d9bbf111190c779b7d2 /modules.d/busybox/install-busybox.sh
parent[dnbd3-rootfs] Try optimized ext4 mount options if none are given (diff)
downloadsystemd-init-abb148916593de63554ef58c53cb1dd8fbbb0ab1.tar.gz
systemd-init-abb148916593de63554ef58c53cb1dd8fbbb0ab1.tar.xz
systemd-init-abb148916593de63554ef58c53cb1dd8fbbb0ab1.zip
Try to use more systemd services
Diffstat (limited to 'modules.d/busybox/install-busybox.sh')
-rwxr-xr-x[-rw-r--r--]modules.d/busybox/install-busybox.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules.d/busybox/install-busybox.sh b/modules.d/busybox/install-busybox.sh
index 6848a735..d4606590 100644..100755
--- a/modules.d/busybox/install-busybox.sh
+++ b/modules.d/busybox/install-busybox.sh
@@ -1,7 +1,7 @@
#!/bin/bash
-if hash busybox; then
- busybox --install -s
+if hash busybox && busybox --install -s; then
+ echo "Busybox installed"
else
. /lib/dracut-lib.sh
emergency_shell "Failed to initialize busybox, things will go wrong..."