From 9f67250480d1e6727424d00212d69f008ffdb647 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 2 Aug 2020 19:34:34 +0200 Subject: op-mode: console-server: T2490: cleanup XML Move the connect part to connect-disconnect.xml --- op-mode-definitions/connect-disconnect.xml | 11 ++++++++++- op-mode-definitions/show-console-server.xml | 13 ------------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/op-mode-definitions/connect-disconnect.xml b/op-mode-definitions/connect-disconnect.xml index f0fcef5da..ea2883e0b 100644 --- a/op-mode-definitions/connect-disconnect.xml +++ b/op-mode-definitions/connect-disconnect.xml @@ -2,9 +2,18 @@ - Establish a connection + Establish connection + + + Connect to device attached to serial console server + + service console-server device + + + /usr/bin/console "$3" + Bring up a connection-oriented network interface diff --git a/op-mode-definitions/show-console-server.xml b/op-mode-definitions/show-console-server.xml index e47b6cfaa..77a7f3376 100644 --- a/op-mode-definitions/show-console-server.xml +++ b/op-mode-definitions/show-console-server.xml @@ -1,18 +1,5 @@ - - - - - Connect to device attached to serial console server - - service console-server device - - - /usr/bin/console "$3" - - - -- cgit v1.2.3