summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-05-30 11:31:17 +0200
committerChristian Poessinger <christian@poessinger.com>2021-05-30 11:31:17 +0200
commitf357cf58f7bd1892f85bb26003c62b1d44753e0a (patch)
tree64e26bb29f687aab04123bfc1aff4853eec3f530 /op-mode-definitions
parent61936ae2c6c2b71d237fb13c40d8a34b4f2e13a3 (diff)
downloadvyos-1x-f357cf58f7bd1892f85bb26003c62b1d44753e0a.tar.gz
vyos-1x-f357cf58f7bd1892f85bb26003c62b1d44753e0a.zip
op-mode: T3589: replace short journalctl options with long names
... this is done for easier readability of the commands
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-console-server.xml.in2
-rw-r--r--op-mode-definitions/show-interfaces-pppoe.xml.in2
-rw-r--r--op-mode-definitions/show-interfaces-wirelessmodem.xml.in2
-rw-r--r--op-mode-definitions/show-log.xml.in2
4 files changed, 4 insertions, 4 deletions
diff --git a/op-mode-definitions/show-console-server.xml.in b/op-mode-definitions/show-console-server.xml.in
index 77a7f3376..253d15498 100644
--- a/op-mode-definitions/show-console-server.xml.in
+++ b/op-mode-definitions/show-console-server.xml.in
@@ -8,7 +8,7 @@
<properties>
<help>Show log for serial console server</help>
</properties>
- <command>/usr/bin/journalctl -u conserver-server.service</command>
+ <command>/usr/bin/journalctl --unit conserver-server.service</command>
</leafNode>
</children>
</node>
diff --git a/op-mode-definitions/show-interfaces-pppoe.xml.in b/op-mode-definitions/show-interfaces-pppoe.xml.in
index 393ca912f..18697a275 100644
--- a/op-mode-definitions/show-interfaces-pppoe.xml.in
+++ b/op-mode-definitions/show-interfaces-pppoe.xml.in
@@ -17,7 +17,7 @@
<properties>
<help>Show specified PPPoE interface log</help>
</properties>
- <command>/usr/bin/journalctl -u "ppp@$4".service</command>
+ <command>/usr/bin/journalctl --unit "ppp@$4".service</command>
</leafNode>
<leafNode name="statistics">
<properties>
diff --git a/op-mode-definitions/show-interfaces-wirelessmodem.xml.in b/op-mode-definitions/show-interfaces-wirelessmodem.xml.in
index c0ab9c66f..18b1e55c7 100644
--- a/op-mode-definitions/show-interfaces-wirelessmodem.xml.in
+++ b/op-mode-definitions/show-interfaces-wirelessmodem.xml.in
@@ -17,7 +17,7 @@
<properties>
<help>Show specified WWAN interface log</help>
</properties>
- <command>/usr/bin/journalctl -u "ppp@$4".service</command>
+ <command>/usr/bin/journalctl --unit "ppp@$4".service</command>
</leafNode>
<leafNode name="statistics">
<properties>
diff --git a/op-mode-definitions/show-log.xml.in b/op-mode-definitions/show-log.xml.in
index 58216bfd1..bb2de1580 100644
--- a/op-mode-definitions/show-log.xml.in
+++ b/op-mode-definitions/show-log.xml.in
@@ -18,7 +18,7 @@
<properties>
<help>Show listing of authorization attempts</help>
</properties>
- <command>/bin/journalctl -q SYSLOG_FACILITY=10 SYSLOG_FACILITY=4</command>
+ <command>/bin/journalctl --quiet SYSLOG_FACILITY=10 SYSLOG_FACILITY=4</command>
</leafNode>
<leafNode name="cluster">
<properties>