info-mode.xml 724 B

123456789101112131415161718192021222324252627
  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. lock="false">
  17. <ACTION>su -l -c "clish -x /etc/clish-enable"</ACTION>
  18. </COMMAND>
  19. </VIEW>
  20. </CLISH_MODULE>