Browse Source

If installation fails then wait for a key press

Bob Mottram 9 years ago
parent
commit
f946926c19
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/freedombone-image-customise

+ 2
- 0
src/freedombone-image-customise View File

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