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 <