From 4ede9b70287c074a3767f4179c006fa50245411b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 23 Nov 2015 16:36:03 +0000 Subject: [PATCH] Path correction --- src/freedombone-image-customise | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/freedombone-image-customise b/src/freedombone-image-customise index 15eae3a2..c6ed7b19 100755 --- a/src/freedombone-image-customise +++ b/src/freedombone-image-customise @@ -195,7 +195,7 @@ create_generic_image() { # The presence of this file indicates that the initial # setup has not yet been completed touch $rootdir/home/$MY_USERNAME/.initial_setup - touch $rootdir/home/root/.initial_setup + touch $rootdir/root/.initial_setup cat >> $rootdir/home/$MY_USERNAME/.bashrc <> $rootdir/home/root/.bashrc <> $rootdir/root/.bashrc <> /home/root/.bashrc - echo -n '$(cat /home/' >> /home/root/.bashrc - echo "${MY_USERNAME}/login.txt)\"|chpasswd" >> /home/root/.bashrc - cat >> $rootdir/home/root/.bashrc <> /root/.bashrc + echo -n '$(cat /home/' >> /root/.bashrc + echo "${MY_USERNAME}/login.txt)\"|chpasswd" >> /root/.bashrc + cat >> $rootdir/root/.bashrc <> $rootdir/home/root/.bashrc - cat >> $rootdir/home/root/.bashrc <> $rootdir/root/.bashrc + cat >> $rootdir/root/.bashrc <