diff options
Diffstat (limited to 'src/aif-test.sh')
-rwxr-xr-x | src/aif-test.sh | 3 |
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 |