mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-06-20 14:04:09 -04:00
output
This commit is contained in:
parent
ed8ce9a7d0
commit
c29b21c08a
1 changed files with 2 additions and 1 deletions
|
@ -23,10 +23,11 @@ ram_wipe_check_needshutdown() {
|
||||||
info "wipe-ram-needshutdown.sh: wiperam=force detected, OK."
|
info "wipe-ram-needshutdown.sh: wiperam=force detected, OK."
|
||||||
else
|
else
|
||||||
if systemd-detect-virt &>/dev/null ; then
|
if systemd-detect-virt &>/dev/null ; then
|
||||||
info "wipe-ram-needshutdown.sh: Skip, because VM detected and not using wiperam=force kernel parameter, OK."
|
info "wipe-ram-needshutdown.sh: Skip, because running inside a VM detected and not using wiperam=force kernel parameter, OK."
|
||||||
DRACUT_QUIET="$OLD_DRACUT_QUIET"
|
DRACUT_QUIET="$OLD_DRACUT_QUIET"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
info "wipe-ram-needshutdown.sh: Bare metal (not running inside a VM) detected, OK."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
info "wipe-ram-needshutdown.sh: Calling dracut function need_shutdown to drop back into initramfs at shutdown, OK."
|
info "wipe-ram-needshutdown.sh: Calling dracut function need_shutdown to drop back into initramfs at shutdown, OK."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue