Include ssh port in setup

This commit is contained in:
Bob Mottram 2016-10-13 11:42:58 +01:00
parent a86bf87837
commit a211e5e210
1 changed files with 1 additions and 0 deletions

View File

@ -333,6 +333,7 @@ if [ -f ~/.initial_setup ]; then
fi fi
EOF EOF
echo 'SSH_PORT=${SSH_PORT}' >> $rootdir/root/.bashrc
echo '# initial setup of the system' >> $rootdir/root/.bashrc echo '# initial setup of the system' >> $rootdir/root/.bashrc
echo 'if [ -f ~/.initial_setup ]; then' >> $rootdir/root/.bashrc echo 'if [ -f ~/.initial_setup ]; then' >> $rootdir/root/.bashrc
echo ' if [ -f ~/login.txt ]; then' >> $rootdir/root/.bashrc echo ' if [ -f ~/login.txt ]; then' >> $rootdir/root/.bashrc