From f946926c19182a39ffe9537415dd448dc5be0e5c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 4 Jan 2016 17:33:05 +0000 Subject: [PATCH] If installation fails then wait for a key press --- src/freedombone-image-customise | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 43d517b1..80f707c0 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -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