summaryrefslogtreecommitdiff
path: root/templates/clear
diff options
context:
space:
mode:
authorMark O'Brien <mobrien@vyatta.com>2008-02-27 12:51:21 -0800
committerMark O'Brien <mobrien@vyatta.com>2008-02-27 12:51:21 -0800
commit553193e924df96f55aaa163bc04599610de4337b (patch)
tree803f681fd772aec28056ad1ab645f384c3cbea52 /templates/clear
parenta23cad1abc5df6e655ae3bf3b6ae48bfee2bde0b (diff)
parent543600c241dc59f8a6d7a52ca8f0115c552a3757 (diff)
downloadvyatta-op-553193e924df96f55aaa163bc04599610de4337b.tar.gz
vyatta-op-553193e924df96f55aaa163bc04599610de4337b.zip
Merge branch 'glendale' of git:/git/vyatta-op into glendale
Diffstat (limited to 'templates/clear')
-rw-r--r--templates/clear/arp/address/node.tag/node.def2
-rw-r--r--templates/clear/arp/interface/node.tag/node.def2
-rw-r--r--templates/clear/dhcp/client/process/node.def2
-rw-r--r--templates/clear/interfaces/bridge/counters/node.def2
-rw-r--r--templates/clear/interfaces/bridge/node.tag/counters/node.def2
-rw-r--r--templates/clear/interfaces/counters/node.def2
-rw-r--r--templates/clear/interfaces/ethernet/counters/node.def2
-rw-r--r--templates/clear/interfaces/ethernet/node.tag/counters/node.def2
-rw-r--r--templates/clear/interfaces/loopback/counters/node.def2
-rw-r--r--templates/clear/interfaces/loopback/node.tag/counters/node.def2
-rw-r--r--templates/clear/interfaces/tunnel/counters/node.def2
-rw-r--r--templates/clear/interfaces/tunnel/node.tag/counters/node.def2
-rw-r--r--templates/clear/ip/route/cache/node.def2
-rw-r--r--templates/clear/ip/route/cache/node.tag/node.def2
14 files changed, 14 insertions, 14 deletions
diff --git a/templates/clear/arp/address/node.tag/node.def b/templates/clear/arp/address/node.tag/node.def
index a25ad1f..1cfd2a3 100644
--- a/templates/clear/arp/address/node.tag/node.def
+++ b/templates/clear/arp/address/node.tag/node.def
@@ -1,3 +1,3 @@
help: Clear ARP cache for address
allowed: echo -n '<ip_address>'
-run: sudo ip neigh flush to $4
+run: sudo ${vyatta_bindir}/sudo-users/ip neigh flush to $4
diff --git a/templates/clear/arp/interface/node.tag/node.def b/templates/clear/arp/interface/node.tag/node.def
index d948ba2..eb0ec26 100644
--- a/templates/clear/arp/interface/node.tag/node.def
+++ b/templates/clear/arp/interface/node.tag/node.def
@@ -2,4 +2,4 @@ help: Clear ARP cache for interface
allowed: local -a array ;
array=( /sys/class/net/{eth,vmnet}* ) ;
echo -n ${array[@]##*/}
-run: sudo ip neigh flush dev $4
+run: sudo ${vyatta_bindir}/sudo-users/ip neigh flush dev $4
diff --git a/templates/clear/dhcp/client/process/node.def b/templates/clear/dhcp/client/process/node.def
index 565e702..50e52ff 100644
--- a/templates/clear/dhcp/client/process/node.def
+++ b/templates/clear/dhcp/client/process/node.def
@@ -1,2 +1,2 @@
help: Restart the dhcp client process
-run: sudo /opt/vyatta/sbin/vyatta-interfaces.pl --restart-dhclient
+run: sudo ${vyatta_bindir}/sudo-users/vyatta-interfaces.pl --restart-dhclient
diff --git a/templates/clear/interfaces/bridge/counters/node.def b/templates/clear/interfaces/bridge/counters/node.def
index ad13229..226394d 100644
--- a/templates/clear/interfaces/bridge/counters/node.def
+++ b/templates/clear/interfaces/bridge/counters/node.def
@@ -1,2 +1,2 @@
help: Clear all bridge interface counters
-run: sudo ${vyatta_bindir}/vyatta-show-interfaces.pl --action=clear --intf-type=$3
+run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3"
diff --git a/templates/clear/interfaces/bridge/node.tag/counters/node.def b/templates/clear/interfaces/bridge/node.tag/counters/node.def
index 985e9ab..ba3199b 100644
--- a/templates/clear/interfaces/bridge/node.tag/counters/node.def
+++ b/templates/clear/interfaces/bridge/node.tag/counters/node.def
@@ -1,2 +1,2 @@
help: Clear interface counters for a given interface
-run: sudo ${vyatta_bindir}/vyatta-show-interfaces.pl --action=clear --intf=$4
+run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"
diff --git a/templates/clear/interfaces/counters/node.def b/templates/clear/interfaces/counters/node.def
index 252251a..a29bcbc 100644
--- a/templates/clear/interfaces/counters/node.def
+++ b/templates/clear/interfaces/counters/node.def
@@ -1,2 +1,2 @@
help: Clear interface counters for all interfaces
-run: sudo ${vyatta_bindir}/vyatta-show-interfaces.pl --action=clear
+run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear
diff --git a/templates/clear/interfaces/ethernet/counters/node.def b/templates/clear/interfaces/ethernet/counters/node.def
index e05e218..85a02d5 100644
--- a/templates/clear/interfaces/ethernet/counters/node.def
+++ b/templates/clear/interfaces/ethernet/counters/node.def
@@ -1,2 +1,2 @@
help: Clear all Ethernet interface counters
-run: sudo ${vyatta_bindir}/vyatta-show-interfaces.pl --action=clear --intf-type=$3
+run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3"
diff --git a/templates/clear/interfaces/ethernet/node.tag/counters/node.def b/templates/clear/interfaces/ethernet/node.tag/counters/node.def
index 985e9ab..ba3199b 100644
--- a/templates/clear/interfaces/ethernet/node.tag/counters/node.def
+++ b/templates/clear/interfaces/ethernet/node.tag/counters/node.def
@@ -1,2 +1,2 @@
help: Clear interface counters for a given interface
-run: sudo ${vyatta_bindir}/vyatta-show-interfaces.pl --action=clear --intf=$4
+run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"
diff --git a/templates/clear/interfaces/loopback/counters/node.def b/templates/clear/interfaces/loopback/counters/node.def
index 5ebcd3d..eefdac4 100644
--- a/templates/clear/interfaces/loopback/counters/node.def
+++ b/templates/clear/interfaces/loopback/counters/node.def
@@ -1,2 +1,2 @@
help: Clear all loopback interface counters
-run: sudo ${vyatta_bindir}/vyatta-show-interfaces.pl --action=clear --intf-type=$3
+run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3"
diff --git a/templates/clear/interfaces/loopback/node.tag/counters/node.def b/templates/clear/interfaces/loopback/node.tag/counters/node.def
index 985e9ab..ba3199b 100644
--- a/templates/clear/interfaces/loopback/node.tag/counters/node.def
+++ b/templates/clear/interfaces/loopback/node.tag/counters/node.def
@@ -1,2 +1,2 @@
help: Clear interface counters for a given interface
-run: sudo ${vyatta_bindir}/vyatta-show-interfaces.pl --action=clear --intf=$4
+run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"
diff --git a/templates/clear/interfaces/tunnel/counters/node.def b/templates/clear/interfaces/tunnel/counters/node.def
index c856a04..7ef46d2 100644
--- a/templates/clear/interfaces/tunnel/counters/node.def
+++ b/templates/clear/interfaces/tunnel/counters/node.def
@@ -1,2 +1,2 @@
help: Clear all tunnel interface counters
-run: sudo ${vyatta_bindir}/vyatta-show-interfaces.pl --action=clear --intf-type=$3
+run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf-type="$3"
diff --git a/templates/clear/interfaces/tunnel/node.tag/counters/node.def b/templates/clear/interfaces/tunnel/node.tag/counters/node.def
index 985e9ab..ba3199b 100644
--- a/templates/clear/interfaces/tunnel/node.tag/counters/node.def
+++ b/templates/clear/interfaces/tunnel/node.tag/counters/node.def
@@ -1,2 +1,2 @@
help: Clear interface counters for a given interface
-run: sudo ${vyatta_bindir}/vyatta-show-interfaces.pl --action=clear --intf=$4
+run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"
diff --git a/templates/clear/ip/route/cache/node.def b/templates/clear/ip/route/cache/node.def
index 3ec559d..9648cef 100644
--- a/templates/clear/ip/route/cache/node.def
+++ b/templates/clear/ip/route/cache/node.def
@@ -1,2 +1,2 @@
help: Flush the kernel route cache
-run: sudo ip route flush cache
+run: sudo ${vyatta_bindir}/sudo-users/ip route flush cache
diff --git a/templates/clear/ip/route/cache/node.tag/node.def b/templates/clear/ip/route/cache/node.tag/node.def
index 288fcbc..37fc458 100644
--- a/templates/clear/ip/route/cache/node.tag/node.def
+++ b/templates/clear/ip/route/cache/node.tag/node.def
@@ -1,3 +1,3 @@
help: Flush the kernel route cache for a given route
allowed: echo -n '<network>'
-run: sudo ip route flush cache $5
+run: sudo ${vyatta_bindir}/sudo-users/ip route flush cache $5