summaryrefslogtreecommitdiffstats
path: root/config/chroot_local-includes/usr/share/initramfs-tools/scripts/init-top/memory_wipe
diff options
context:
space:
mode:
Diffstat (limited to 'config/chroot_local-includes/usr/share/initramfs-tools/scripts/init-top/memory_wipe')
-rwxr-xr-xconfig/chroot_local-includes/usr/share/initramfs-tools/scripts/init-top/memory_wipe3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/chroot_local-includes/usr/share/initramfs-tools/scripts/init-top/memory_wipe b/config/chroot_local-includes/usr/share/initramfs-tools/scripts/init-top/memory_wipe
index 0967171..bc429d9 100755
--- a/config/chroot_local-includes/usr/share/initramfs-tools/scripts/init-top/memory_wipe
+++ b/config/chroot_local-includes/usr/share/initramfs-tools/scripts/init-top/memory_wipe
@@ -48,6 +48,7 @@ if [ -n "${sdmem}" ] ; then
done
# Wait for sdmem jobs to finish.
wait
+ echo "Memory has been wiped!"
fi
if [ "${sdmemdebug}" = 1 ] ; then
@@ -58,9 +59,11 @@ fi
case "${sdmem}" in
halt)
+ echo "Powering off..."
/sbin/poweroff -fd
;;
reboot)
+ echo "Restarting..."
/sbin/reboot -fd
;;
*)