From 64a196f11598cca941ab3d7f4e49a0731fb9eaf2 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Thu, 26 Jun 2008 13:59:37 +0000 Subject: [PATCH] tell halt to power off to avoid kernel panic message --- build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build b/build index 4119ed6..9712642 100755 --- a/build +++ b/build @@ -170,8 +170,8 @@ cleanup_and_exit () { exec >&0 2>&0 # so that the logging tee finishes sleep 1 # wait till tee terminates kill -9 -1 # goodbye cruel world - exec /bin/bash -c 'mount -n -o remount,ro / ; halt -f' - halt -f + exec /bin/bash -c 'mount -n -o remount,ro / ; halt -f -p' + halt -f -p else umount -n $BUILD_ROOT/proc 2>/dev/null || true umount -n $BUILD_ROOT/dev/pts 2>/dev/null || true -- 2.7.4