Update line_connection.ts

This commit is contained in:
nguyentrungthat 2026-01-06 07:49:07 +07:00
parent e14d4ca216
commit 250ea1421b
1 changed files with 9 additions and 2 deletions

View File

@ -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: '',