Bladeren bron

Path correction

Bob Mottram 9 jaren geleden
bovenliggende
commit
4ede9b7028
1 gewijzigde bestanden met toevoegingen van 8 en 8 verwijderingen
  1. 8
    8
      src/freedombone-image-customise

+ 8
- 8
src/freedombone-image-customise Bestand weergeven

195
     # The presence of this file indicates that the initial
195
     # The presence of this file indicates that the initial
196
     # setup has not yet been completed
196
     # setup has not yet been completed
197
     touch $rootdir/home/$MY_USERNAME/.initial_setup
197
     touch $rootdir/home/$MY_USERNAME/.initial_setup
198
-    touch $rootdir/home/root/.initial_setup
198
+    touch $rootdir/root/.initial_setup
199
    
199
    
200
     cat >> $rootdir/home/$MY_USERNAME/.bashrc <<EOF
200
     cat >> $rootdir/home/$MY_USERNAME/.bashrc <<EOF
201
 # initial setup of the system
201
 # initial setup of the system
228
 fi
228
 fi
229
 EOF
229
 EOF
230
 
230
 
231
-    cat >> $rootdir/home/root/.bashrc <<EOF
231
+    cat >> $rootdir/root/.bashrc <<EOF
232
 # initial setup of the system
232
 # initial setup of the system
233
 if [ -f ~/.initial_setup ]; then
233
 if [ -f ~/.initial_setup ]; then
234
 EOF
234
 EOF
235
-    echo -n "    echo \"${MY_USERNAME}:" >> /home/root/.bashrc
236
-    echo -n '$(cat /home/'  >> /home/root/.bashrc
237
-    echo "${MY_USERNAME}/login.txt)\"|chpasswd" >> /home/root/.bashrc
238
-    cat >> $rootdir/home/root/.bashrc <<EOF
235
+    echo -n "    echo \"${MY_USERNAME}:" >> /root/.bashrc
236
+    echo -n '$(cat /home/'  >> /root/.bashrc
237
+    echo "${MY_USERNAME}/login.txt)\"|chpasswd" >> /root/.bashrc
238
+    cat >> $rootdir/root/.bashrc <<EOF
239
     freedombone menuconfig
239
     freedombone menuconfig
240
     rm ~/.initial_setup
240
     rm ~/.initial_setup
241
 EOF
241
 EOF
242
-    echo "    shred -zu /home/${MY_USERNAME}/login.txt" >> $rootdir/home/root/.bashrc
243
-    cat >> $rootdir/home/root/.bashrc <<EOF
242
+    echo "    shred -zu /home/${MY_USERNAME}/login.txt" >> $rootdir/root/.bashrc
243
+    cat >> $rootdir/root/.bashrc <<EOF
244
 fi
244
 fi
245
 EOF
245
 EOF
246
 }
246
 }