From 250ea1421b4b1259c6555f11ea049f8ca4ee13fa Mon Sep 17 00:00:00 2001 From: nguyentrungthat <80239428+nguentrungthat@users.noreply.github.com> Date: Tue, 6 Jan 2026 07:49:07 +0700 Subject: [PATCH] Update line_connection.ts --- BACKEND/app/services/line_connection.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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: '',