浏览代码

Include ssh port in setup

Bob Mottram 8 年前
父节点
当前提交
a211e5e210
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      src/freedombone-image-customise

+ 1
- 0
src/freedombone-image-customise 查看文件

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