summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2009-02-10 19:52:08 -0800
committerStig Thormodsrud <stig@io.vyatta.com>2009-02-10 19:52:08 -0800
commit4beccd593b07fe93c35efcf6b8922abb58306102 (patch)
treef9d7266741820232f5d0e04ae92613f4d89216c5 /templates
parent180c8382cef817f789fa322e06d2ce5a2a46a39d (diff)
downloadvyatta-cfg-firewall-4beccd593b07fe93c35efcf6b8922abb58306102.tar.gz
vyatta-cfg-firewall-4beccd593b07fe93c35efcf6b8922abb58306102.zip
Change sudo usage to be more consistent.
Diffstat (limited to 'templates')
-rw-r--r--templates/firewall/group/address-group/node.tag/address/node.def2
-rw-r--r--templates/firewall/group/network-group/node.tag/network/node.def2
-rw-r--r--templates/firewall/group/port-group/node.tag/port/node.def2
-rw-r--r--templates/firewall/name/node.tag/rule/node.tag/destination/group/address-group/node.def2
-rw-r--r--templates/firewall/name/node.tag/rule/node.tag/destination/group/network-group/node.def2
-rw-r--r--templates/firewall/name/node.tag/rule/node.tag/destination/group/port-group/node.def2
-rw-r--r--templates/firewall/name/node.tag/rule/node.tag/source/group/address-group/node.def2
-rw-r--r--templates/firewall/name/node.tag/rule/node.tag/source/group/network-group/node.def2
-rw-r--r--templates/firewall/name/node.tag/rule/node.tag/source/group/port-group/node.def2
9 files changed, 9 insertions, 9 deletions
diff --git a/templates/firewall/group/address-group/node.tag/address/node.def b/templates/firewall/group/address-group/node.tag/address/node.def
index e0f8026..bcaa497 100644
--- a/templates/firewall/group/address-group/node.tag/address/node.def
+++ b/templates/firewall/group/address-group/node.tag/address/node.def
@@ -2,7 +2,7 @@ multi:
type: ipv4
help: Set a address-group member
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-ipset.pl \
+syntax:expression: exec "sudo /opt/vyatta/sbin/vyatta-ipset.pl \
--action=check-member \
--set-name=$VAR(../@) \
--set-type=address \
diff --git a/templates/firewall/group/network-group/node.tag/network/node.def b/templates/firewall/group/network-group/node.tag/network/node.def
index 1f33ba9..cd3a6a6 100644
--- a/templates/firewall/group/network-group/node.tag/network/node.def
+++ b/templates/firewall/group/network-group/node.tag/network/node.def
@@ -2,7 +2,7 @@ multi:
type: ipv4net
help: Set a network-group member
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-ipset.pl \
+syntax:expression: exec "sudo /opt/vyatta/sbin/vyatta-ipset.pl \
--action=check-member \
--set-name=$VAR(../@) \
--set-type=network \
diff --git a/templates/firewall/group/port-group/node.tag/port/node.def b/templates/firewall/group/port-group/node.tag/port/node.def
index 3f9c530..92bce9c 100644
--- a/templates/firewall/group/port-group/node.tag/port/node.def
+++ b/templates/firewall/group/port-group/node.tag/port/node.def
@@ -2,7 +2,7 @@ multi:
type: txt
help: Set a port-group member
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-ipset.pl \
+syntax:expression: exec "sudo /opt/vyatta/sbin/vyatta-ipset.pl \
--action=check-member \
--set-name=$VAR(../@) \
--set-type=port \
diff --git a/templates/firewall/name/node.tag/rule/node.tag/destination/group/address-group/node.def b/templates/firewall/name/node.tag/rule/node.tag/destination/group/address-group/node.def
index 76e040b..6fd918f 100644
--- a/templates/firewall/name/node.tag/rule/node.tag/destination/group/address-group/node.def
+++ b/templates/firewall/name/node.tag/rule/node.tag/destination/group/address-group/node.def
@@ -1,7 +1,7 @@
type: txt
help: Set group of addresses
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-ipset.pl \
+syntax:expression: exec "sudo /opt/vyatta/sbin/vyatta-ipset.pl \
--action=check-set-type \
--set-name=$VAR(@) \
--set-type=address;"
diff --git a/templates/firewall/name/node.tag/rule/node.tag/destination/group/network-group/node.def b/templates/firewall/name/node.tag/rule/node.tag/destination/group/network-group/node.def
index 8c53752..023acbf 100644
--- a/templates/firewall/name/node.tag/rule/node.tag/destination/group/network-group/node.def
+++ b/templates/firewall/name/node.tag/rule/node.tag/destination/group/network-group/node.def
@@ -1,7 +1,7 @@
type: txt
help: Set group of networks
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-ipset.pl \
+syntax:expression: exec "sudo /opt/vyatta/sbin/vyatta-ipset.pl \
--action=check-set-type \
--set-name=$VAR(@) \
--set-type=network;"
diff --git a/templates/firewall/name/node.tag/rule/node.tag/destination/group/port-group/node.def b/templates/firewall/name/node.tag/rule/node.tag/destination/group/port-group/node.def
index 3b42a07..f77d45a 100644
--- a/templates/firewall/name/node.tag/rule/node.tag/destination/group/port-group/node.def
+++ b/templates/firewall/name/node.tag/rule/node.tag/destination/group/port-group/node.def
@@ -1,7 +1,7 @@
type: txt
help: Set group of ports
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-ipset.pl \
+syntax:expression: exec "sudo /opt/vyatta/sbin/vyatta-ipset.pl \
--action=check-set-type \
--set-name=$VAR(@) \
--set-type=port;"
diff --git a/templates/firewall/name/node.tag/rule/node.tag/source/group/address-group/node.def b/templates/firewall/name/node.tag/rule/node.tag/source/group/address-group/node.def
index 76e040b..6fd918f 100644
--- a/templates/firewall/name/node.tag/rule/node.tag/source/group/address-group/node.def
+++ b/templates/firewall/name/node.tag/rule/node.tag/source/group/address-group/node.def
@@ -1,7 +1,7 @@
type: txt
help: Set group of addresses
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-ipset.pl \
+syntax:expression: exec "sudo /opt/vyatta/sbin/vyatta-ipset.pl \
--action=check-set-type \
--set-name=$VAR(@) \
--set-type=address;"
diff --git a/templates/firewall/name/node.tag/rule/node.tag/source/group/network-group/node.def b/templates/firewall/name/node.tag/rule/node.tag/source/group/network-group/node.def
index 8c53752..023acbf 100644
--- a/templates/firewall/name/node.tag/rule/node.tag/source/group/network-group/node.def
+++ b/templates/firewall/name/node.tag/rule/node.tag/source/group/network-group/node.def
@@ -1,7 +1,7 @@
type: txt
help: Set group of networks
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-ipset.pl \
+syntax:expression: exec "sudo /opt/vyatta/sbin/vyatta-ipset.pl \
--action=check-set-type \
--set-name=$VAR(@) \
--set-type=network;"
diff --git a/templates/firewall/name/node.tag/rule/node.tag/source/group/port-group/node.def b/templates/firewall/name/node.tag/rule/node.tag/source/group/port-group/node.def
index 3b42a07..f77d45a 100644
--- a/templates/firewall/name/node.tag/rule/node.tag/source/group/port-group/node.def
+++ b/templates/firewall/name/node.tag/rule/node.tag/source/group/port-group/node.def
@@ -1,7 +1,7 @@
type: txt
help: Set group of ports
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-ipset.pl \
+syntax:expression: exec "sudo /opt/vyatta/sbin/vyatta-ipset.pl \
--action=check-set-type \
--set-name=$VAR(@) \
--set-type=port;"