klish-plugin-infix: allow admin to run 'show ntp'

Fixes #730
This commit is contained in:
Ahmed Karic
2024-10-18 09:35:43 +02:00
parent eac60b1883
commit 3fa820b41e
+2 -2
View File
@@ -268,10 +268,10 @@
</COMMAND>
<COMMAND name="ntp" help="Show NTP (client) status">
<ACTION sym="script">ntp tracking</ACTION>
<ACTION sym="script">doas ntp tracking</ACTION>
<SWITCH name="optional" min="0">
<COMMAND name="sources" help="Show NTP sources">
<ACTION sym="script">ntp sources</ACTION>
<ACTION sym="script">doas ntp sources</ACTION>
</COMMAND>
</SWITCH>
</COMMAND>