summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2009-07-22 22:10:05 +0200
committerDieter Plaetinck <dieter@plaetinck.be>2009-07-22 22:10:05 +0200
commit2b5c37da015d9613571ec9f17529fda2872444ec (patch)
tree6408ea5e5b6349576554d3e9c9a123719fefe00d /src
parentdadf72643a227f4083f6eb6e9ef92f6cca04ce60 (diff)
dont blank screen after running tests
Diffstat (limited to 'src')
-rwxr-xr-xsrc/aif-test.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/aif-test.sh b/src/aif-test.sh
index f9b673c..de891a5 100755
--- a/src/aif-test.sh
+++ b/src/aif-test.sh
@@ -26,6 +26,9 @@ cp $test_dir/perform_test.sh /mnt/etc/rc.d/perform_test || fail=1
# make sure the test will run on the target system
sed -i 's#DAEMONS=(\(.*\))#DAEMONS=(\1 perform_test)#' /mnt/etc/rc.conf || fail=1
+# and that /etc/issue won't blank the screen
+sed -i 's/^H//' /mnt/etc/issue
+
[ "$fail" == '1' ] && echo "Something failed. will not reboot" >&2 && exit 3
reboot