If installation fails then wait for a key press

This commit is contained in:
Bob Mottram 2016-01-04 17:33:05 +00:00
parent 61003d4bad
commit f946926c19
1 changed files with 2 additions and 0 deletions

View File

@ -307,6 +307,8 @@ EOF
echo ' reboot' >> $rootdir/root/.bashrc
echo ' fi' >> $rootdir/root/.bashrc
echo ' else' >> $rootdir/root/.bashrc
echo ' read -n1 -r -p $"Installation failed. Press any key to continue..." key' >> $rootdir/root/.bashrc
echo ' fi' >> $rootdir/root/.bashrc
echo ' exit' >> $rootdir/root/.bashrc
echo 'else' >> $rootdir/root/.bashrc