Explorar el Código

Include username in setup

Bob Mottram hace 9 años
padre
commit
637f18d5a5
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      src/freedombone-image-customise

+ 2
- 1
src/freedombone-image-customise Ver fichero

333
 fi
333
 fi
334
 EOF
334
 EOF
335
 
335
 
336
-    echo 'SSH_PORT=${SSH_PORT}' >> $rootdir/root/.bashrc
336
+    echo "MY_USERNAME=${MY_USERNAME}" >> $rootdir/root/.bashrc
337
+    echo "SSH_PORT=${SSH_PORT}" >> $rootdir/root/.bashrc
337
     echo '# initial setup of the system' >> $rootdir/root/.bashrc
338
     echo '# initial setup of the system' >> $rootdir/root/.bashrc
338
     echo 'if [ -f ~/.initial_setup ]; then' >> $rootdir/root/.bashrc
339
     echo 'if [ -f ~/.initial_setup ]; then' >> $rootdir/root/.bashrc
339
     echo '    if [ -f ~/login.txt ]; then' >> $rootdir/root/.bashrc
340
     echo '    if [ -f ~/login.txt ]; then' >> $rootdir/root/.bashrc