Commit be9b18da authored by intrigeri's avatar intrigeri
Browse files

Display more information after wiping memory (refs: #11786).

The idea is to enable:

 * users to report more useful bugs;
 * developers to better understand the failure we see in the test suite.
parent a6a06c0a
...@@ -48,6 +48,7 @@ if [ -n "${sdmem}" ] ; then ...@@ -48,6 +48,7 @@ if [ -n "${sdmem}" ] ; then
done done
# Wait for sdmem jobs to finish. # Wait for sdmem jobs to finish.
wait wait
echo "Memory has been wiped!"
fi fi
if [ "${sdmemdebug}" = 1 ] ; then if [ "${sdmemdebug}" = 1 ] ; then
...@@ -58,9 +59,11 @@ fi ...@@ -58,9 +59,11 @@ fi
case "${sdmem}" in case "${sdmem}" in
halt) halt)
echo "Powering off..."
/sbin/poweroff -fd /sbin/poweroff -fd
;; ;;
reboot) reboot)
echo "Restarting..."
/sbin/reboot -fd /sbin/reboot -fd
;; ;;
*) *)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment