diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-07 14:26:31 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-07 14:26:31 +0200 |
commit | 561694378e11a406205722c95f81cf637676a80b (patch) | |
tree | 6beddd1b0dd2427cd5f85a6b50e7a9c5b41f2a81 /op-mode-definitions/show-interfaces-wirelessmodem.xml | |
parent | cceffc8725271b15107f21ae26f4e477751df6bc (diff) | |
download | vyos-1x-561694378e11a406205722c95f81cf637676a80b.tar.gz vyos-1x-561694378e11a406205722c95f81cf637676a80b.zip |
wwan: op-mode: T2488: retrieve log info from journalctl
Diffstat (limited to 'op-mode-definitions/show-interfaces-wirelessmodem.xml')
-rw-r--r-- | op-mode-definitions/show-interfaces-wirelessmodem.xml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/op-mode-definitions/show-interfaces-wirelessmodem.xml b/op-mode-definitions/show-interfaces-wirelessmodem.xml index b21bb520c..1f710b3dc 100644 --- a/op-mode-definitions/show-interfaces-wirelessmodem.xml +++ b/op-mode-definitions/show-interfaces-wirelessmodem.xml @@ -13,9 +13,15 @@ </properties> <command>${vyos_op_scripts_dir}/show_interfaces.py --intf="$4"</command> <children> + <leafNode name="log"> + <properties> + <help>Show specified WWAN interface log</help> + </properties> + <command>/usr/bin/journalctl -u "ppp@$4".service</command> + </leafNode> <leafNode name="statistics"> <properties> - <help>Show specified wirelessmodem interface statistics</help> + <help>Show specified WWAN interface statistics</help> <completionHelp> <path>interfaces wirelessmodem</path> </completionHelp> |