diff --git a/BACKEND/app/services/line_connection.ts b/BACKEND/app/services/line_connection.ts index 6f9880b..2405ed5 100644 --- a/BACKEND/app/services/line_connection.ts +++ b/BACKEND/app/services/line_connection.ts @@ -1092,7 +1092,7 @@ export default class LineConnection { }, { expect: 'rommon', - send: `TFTP_SERVER=${station?.tftp_ip}`, + send: `TFTP_SERVER=${station?.tftp_ip || '172.16.7.69'}`, delay: '1', repeat: '1', note: '', @@ -1261,6 +1261,13 @@ export default class LineConnection { repeat: '1', note: '', }, + { + expect: '#', + send: ``, + delay: '1', + repeat: '1', + note: '', + }, { expect: '#', send: `copy tftp: flash:`, @@ -1270,7 +1277,7 @@ export default class LineConnection { }, { expect: '', - send: `${station?.tftp_ip}`, + send: `${station?.tftp_ip || '172.16.7.69'}`, delay: '1', repeat: '1', note: '',