diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-05-30 11:31:17 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-05-30 12:07:44 +0200 |
commit | fd95a460cc8cac533d1ece820ee9087af7214a4f (patch) | |
tree | 74be3e7d3b919d05b7cf038283c6396d08614fc7 | |
parent | fd9979344198b085516455bbb17e98c8fa93c92e (diff) | |
download | vyos-1x-fd95a460cc8cac533d1ece820ee9087af7214a4f.tar.gz vyos-1x-fd95a460cc8cac533d1ece820ee9087af7214a4f.zip |
op-mode: T3589: replace short journalctl options with long names
... this is done for easier readability of the commands
(cherry picked from commit f357cf58f7bd1892f85bb26003c62b1d44753e0a)
-rw-r--r-- | op-mode-definitions/show-console-server.xml.in | 2 | ||||
-rw-r--r-- | op-mode-definitions/show-interfaces-pppoe.xml.in | 2 | ||||
-rw-r--r-- | op-mode-definitions/show-interfaces-wirelessmodem.xml.in | 2 | ||||
-rw-r--r-- | op-mode-definitions/show-log.xml.in | 2 |
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> |