Skip to content

Commit

Permalink
Merge pull request #732 from kernelkit/fix-admin-perm
Browse files Browse the repository at this point in the history
Allow admin to run 'show ntp'
  • Loading branch information
axkar authored Oct 18, 2024
2 parents 3bcc058 + 3fa820b commit e875239
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/klish-plugin-infix/xml/infix.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit e875239

Please sign in to comment.