From 175a7d04e2f23e6f5164621f41629816381d64d2 Mon Sep 17 00:00:00 2001
From: nguyentrungthat <80239428+nguentrungthat@users.noreply.github.com>
Date: Tue, 6 Jan 2026 08:44:51 +0700
Subject: [PATCH] Update
---
BACKEND/app/services/line_connection.ts | 14 ++++++++++++++
FRONTEND/src/components/Modal/ModalTerminal.tsx | 12 +++++++++++-
2 files changed, 25 insertions(+), 1 deletion(-)
diff --git a/BACKEND/app/services/line_connection.ts b/BACKEND/app/services/line_connection.ts
index 2405ed5..1839939 100644
--- a/BACKEND/app/services/line_connection.ts
+++ b/BACKEND/app/services/line_connection.ts
@@ -1254,6 +1254,20 @@ export default class LineConnection {
repeat: '1',
note: '',
},
+ {
+ expect: '#',
+ send: `exit`,
+ delay: '1',
+ repeat: '1',
+ note: '',
+ },
+ {
+ expect: '#',
+ send: `ip default-gateway ${station?.gateway ? station?.gateway : '0.0.0.0'}`,
+ delay: '1',
+ repeat: '1',
+ note: '',
+ },
{
expect: '#',
send: `end`,
diff --git a/FRONTEND/src/components/Modal/ModalTerminal.tsx b/FRONTEND/src/components/Modal/ModalTerminal.tsx
index 219ad07..77f5660 100644
--- a/FRONTEND/src/components/Modal/ModalTerminal.tsx
+++ b/FRONTEND/src/components/Modal/ModalTerminal.tsx
@@ -1207,7 +1207,17 @@ const ModalTerminal = ({
setOpenSelectIos(true);
}}
>
- Select IOS / License
+ Select IOS
+
+