From e8f4133bc4284c39e0bddfcf66f1ee13ecfc775c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 23 Nov 2015 17:47:53 +0000 Subject: [PATCH] echo to the right script --- src/freedombone-image-customise | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index d6b4d907..7c64f0a2 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -215,16 +215,15 @@ if [ -f ~/.initial_setup ]; then echo '' EOF -echo ' NEW_USER_PASSWORD="$(openssl rand -base64 12 | cut -c1-10)"' >> $rootdir/root/.bashrc -echo ' echo "${NEW_USER_PASSWORD}" > ~/login.txt' >> $rootdir/root/.bashrc -echo ' echo " $NEW_USER_PASSWORD"' >> $rootdir/root/.bashrc +echo ' NEW_USER_PASSWORD="$(openssl rand -base64 12 | cut -c1-10)"' >> $rootdir/home/$MY_USERNAME/.bashrc +echo ' echo "${NEW_USER_PASSWORD}" > ~/login.txt' >> $rootdir/home/$MY_USERNAME/.bashrc +echo ' echo " $NEW_USER_PASSWORD"' >> $rootdir/home/$MY_USERNAME/.bashrc cat >> $rootdir/home/$MY_USERNAME/.bashrc <