From fd95a460cc8cac533d1ece820ee9087af7214a4f Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 30 May 2021 11:31:17 +0200 Subject: op-mode: T3589: replace short journalctl options with long names ... this is done for easier readability of the commands (cherry picked from commit f357cf58f7bd1892f85bb26003c62b1d44753e0a) --- op-mode-definitions/show-console-server.xml.in | 2 +- op-mode-definitions/show-interfaces-pppoe.xml.in | 2 +- op-mode-definitions/show-interfaces-wirelessmodem.xml.in | 2 +- op-mode-definitions/show-log.xml.in | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'op-mode-definitions') 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 @@ Show log for serial console server - /usr/bin/journalctl -u conserver-server.service + /usr/bin/journalctl --unit conserver-server.service 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 @@ Show specified PPPoE interface log - /usr/bin/journalctl -u "ppp@$4".service + /usr/bin/journalctl --unit "ppp@$4".service 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 @@ Show specified WWAN interface log - /usr/bin/journalctl -u "ppp@$4".service + /usr/bin/journalctl --unit "ppp@$4".service 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 @@ Show listing of authorization attempts - /bin/journalctl -q SYSLOG_FACILITY=10 SYSLOG_FACILITY=4 + /bin/journalctl --quiet SYSLOG_FACILITY=10 SYSLOG_FACILITY=4 -- cgit v1.2.3