diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-08-04 19:00:02 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-08-04 19:00:02 -0700 |
commit | fd861f498cf59905f4371531204b3edfb4777578 (patch) | |
tree | a1e8c35dcbf50fe3cc30449880c3f1f2fb481787 | |
parent | f14b8d3ece4de61f8f0de0f2ef4dd4e2512527b2 (diff) | |
download | vyatta-nat-fd861f498cf59905f4371531204b3edfb4777578.tar.gz vyatta-nat-fd861f498cf59905f4371531204b3edfb4777578.zip |
Disable pager on "show nat translations monitor".
4 files changed, 12 insertions, 8 deletions
diff --git a/templates-op/show/nat/translations/destination/monitor/detail/node.def b/templates-op/show/nat/translations/destination/monitor/detail/node.def index f1d196f..5f8cb0b 100644 --- a/templates-op/show/nat/translations/destination/monitor/detail/node.def +++ b/templates-op/show/nat/translations/destination/monitor/detail/node.def @@ -1,3 +1,4 @@ help: Show active NAT destination translations events detail -run: echo Type control-C to quit - sudo /usr/sbin/conntrack -E -g -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=dnat --pipe --verbose | ${VYATTA_PAGER:-cat} +run: LESSOPEN=cat + echo Type control-C to quit + sudo /usr/sbin/conntrack -E -g -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=dnat --pipe --verbose diff --git a/templates-op/show/nat/translations/destination/monitor/node.def b/templates-op/show/nat/translations/destination/monitor/node.def index 99cf715..4b51368 100644 --- a/templates-op/show/nat/translations/destination/monitor/node.def +++ b/templates-op/show/nat/translations/destination/monitor/node.def @@ -1,3 +1,4 @@ help: Show active NAT destination translations events -run: echo Type control-C to quit - sudo /usr/sbin/conntrack -E -g -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=dnat --pipe | ${VYATTA_PAGER:-cat} +run: LESSOPEN=cat + echo Type control-C to quit + sudo /usr/sbin/conntrack -E -g -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=dnat --pipe diff --git a/templates-op/show/nat/translations/source/monitor/detail/node.def b/templates-op/show/nat/translations/source/monitor/detail/node.def index cadd4bf..4d69843 100644 --- a/templates-op/show/nat/translations/source/monitor/detail/node.def +++ b/templates-op/show/nat/translations/source/monitor/detail/node.def @@ -1,3 +1,4 @@ help: Show active NAT source translations events -run: echo Type control-C to quit - sudo /usr/sbin/conntrack -E -n -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat --pipe --verbose | ${VYATTA_PAGER:-cat}
\ No newline at end of file +run: LESSOPEN=cat + echo Type control-C to quit + sudo /usr/sbin/conntrack -E -n -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat --pipe --verbose
\ No newline at end of file diff --git a/templates-op/show/nat/translations/source/monitor/node.def b/templates-op/show/nat/translations/source/monitor/node.def index b1fced2..2956935 100644 --- a/templates-op/show/nat/translations/source/monitor/node.def +++ b/templates-op/show/nat/translations/source/monitor/node.def @@ -1,3 +1,4 @@ help: Show active NAT source translations events -run: echo Type control-C to quit - sudo /usr/sbin/conntrack -E -n -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat --pipe | ${VYATTA_PAGER:-cat} +run: LESSOPEN=cat + echo Type control-C to quit + sudo /usr/sbin/conntrack -E -n -o xml | ${vyatta_bindir}/sudo-users/vyatta-nat-translations.pl --mode=snat --pipe |