diff --git a/usr/lib/dracut/modules.d/40cold-boot-attack-defense/wipe-ram-needshutdown.sh b/usr/lib/dracut/modules.d/40cold-boot-attack-defense/wipe-ram-needshutdown.sh index 1ab5419..1f59d15 100755 --- a/usr/lib/dracut/modules.d/40cold-boot-attack-defense/wipe-ram-needshutdown.sh +++ b/usr/lib/dracut/modules.d/40cold-boot-attack-defense/wipe-ram-needshutdown.sh @@ -3,6 +3,8 @@ ## Copyright (C) 2022 - 2022 ENCRYPTED SUPPORT LP ## See the file COPYING for copying conditions. +type getarg >/dev/null 2>&1 || . /lib/dracut-lib.sh + ram_wipe_check_needshutdown() { local OLD_DRACUT_QUIET OLD_DRACUT_QUIET="$DRACUT_QUIET"