Browse Source

Include ssh port in setup

Bob Mottram 8 years ago
parent
commit
a211e5e210
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/freedombone-image-customise

+ 1
- 0
src/freedombone-image-customise View File

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