Bob Mottram 9 лет назад
Родитель
Сommit
a211e5e210
1 измененных файлов: 1 добавлений и 0 удалений
  1. 1
    0
      src/freedombone-image-customise

+ 1
- 0
src/freedombone-image-customise Просмотреть файл

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