Explorar el Código

Include ssh port in setup

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

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

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