summaryrefslogtreecommitdiffstats
path: root/builder/modules.d/kexec-reboot/module-setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'builder/modules.d/kexec-reboot/module-setup.sh')
-rwxr-xr-xbuilder/modules.d/kexec-reboot/module-setup.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/builder/modules.d/kexec-reboot/module-setup.sh b/builder/modules.d/kexec-reboot/module-setup.sh
deleted file mode 100755
index 1cda92a0..00000000
--- a/builder/modules.d/kexec-reboot/module-setup.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/usr/bin/env bash
-
-check() {
- # Tell dracut that this module should only be included if it is required
- # explicitly.
- if ! hash kexec; then
- derror "Failed to find kexec, please install it when using this module."
- return 1
- fi
- return 255
-}
-depends() {
- echo dnbd3-rootfs slx-tools
-}
-install() {
- inst_simple "$moddir/scripts/kexec-reboot.sh" "/bin/kexec-reboot"
- inst_multiple kexec
-}