diff options
Diffstat (limited to 'templates/show')
-rw-r--r-- | templates/show/log/image/node.tag/tail/node.def | 2 | ||||
-rw-r--r-- | templates/show/log/image/node.tag/tail/node.tag/node.def | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/templates/show/log/image/node.tag/tail/node.def b/templates/show/log/image/node.tag/tail/node.def new file mode 100644 index 0000000..c7f0190 --- /dev/null +++ b/templates/show/log/image/node.tag/tail/node.def @@ -0,0 +1,2 @@ +help: Show last lines of messages file +run: tail /live/image/boot/$4/live-rw/var/log/messages diff --git a/templates/show/log/image/node.tag/tail/node.tag/node.def b/templates/show/log/image/node.tag/tail/node.tag/node.def new file mode 100644 index 0000000..f0af559 --- /dev/null +++ b/templates/show/log/image/node.tag/tail/node.tag/node.def @@ -0,0 +1,3 @@ +help: Show last changes to messages +allowed: echo -n '<NUMBER>' +run: tail -n "$6" /live/image/boot/$4/live-rw/var/log/messages | ${VYATTA_PAGER:-cat} |