info-mode.xml 729 B

12345678910111213141516171819202122232425262728
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <CLISH_MODULE xmlns="http://clish.sourceforge.net/XMLSchema"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://clish.sourceforge.net/XMLSchema
  5. http://clish.sourceforge.net/XMLSchema/clish.xsd">
  6. <!--=======================================================-->
  7. <VIEW name="info-view"
  8. prompt="${SYSTEM_NAME}&gt; ">
  9. <!------ Inheritance ------>
  10. <NAMESPACE ref="ping-view"
  11. help="true"
  12. completion="true"/>
  13. <!------ Simple non-priveledged mode commands ------>
  14. <COMMAND name="enable"
  15. help="Turn on privileged commands">
  16. <DETAIL>
  17. </DETAIL>
  18. <ACTION>su -c klish-enable</ACTION>
  19. </COMMAND>
  20. </VIEW>
  21. </CLISH_MODULE>