Parcourir la source

Include ssh port in setup

Bob Mottram il y a 8 ans
Parent
révision
a211e5e210
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1
    0
      src/freedombone-image-customise

+ 1
- 0
src/freedombone-image-customise Voir le fichier

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