Ver código fonte

Include ssh port in setup

Bob Mottram 8 anos atrás
pai
commit
a211e5e210
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1
    0
      src/freedombone-image-customise

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

@@ -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