summaryrefslogtreecommitdiff
path: root/templates/system/sysctl/custom
diff options
context:
space:
mode:
authorJason Hendry <jhendry@mintel.com>2014-11-01 10:15:40 +0000
committerJason Hendry <jhendry@mintel.com>2014-11-01 10:15:40 +0000
commit542cc6a50f55570dafc26abecd731adedd606d18 (patch)
tree2ec77a037224b07d46a9b349eef17e683ab0f271 /templates/system/sysctl/custom
parent1eb080a43e18bc0975a256496175a586d2f2e632 (diff)
downloadvyatta-cfg-system-542cc6a50f55570dafc26abecd731adedd606d18.tar.gz
vyatta-cfg-system-542cc6a50f55570dafc26abecd731adedd606d18.zip
Adding all + custom sysctl option nodes
Diffstat (limited to 'templates/system/sysctl/custom')
-rw-r--r--templates/system/sysctl/custom/node.def5
-rw-r--r--templates/system/sysctl/custom/node.tag/node.def1
-rw-r--r--templates/system/sysctl/custom/node.tag/value/node.def8
3 files changed, 14 insertions, 0 deletions
diff --git a/templates/system/sysctl/custom/node.def b/templates/system/sysctl/custom/node.def
new file mode 100644
index 00000000..f03a3e13
--- /dev/null
+++ b/templates/system/sysctl/custom/node.def
@@ -0,0 +1,5 @@
+tag:
+priority: 318
+type: txt
+help: Define specific sysctl options to modify
+val_help: <sysctl_option> ; Name of sysctl option you want to modufy
diff --git a/templates/system/sysctl/custom/node.tag/node.def b/templates/system/sysctl/custom/node.tag/node.def
new file mode 100644
index 00000000..b688551e
--- /dev/null
+++ b/templates/system/sysctl/custom/node.tag/node.def
@@ -0,0 +1 @@
+help: Value for sysctl option
diff --git a/templates/system/sysctl/custom/node.tag/value/node.def b/templates/system/sysctl/custom/node.tag/value/node.def
new file mode 100644
index 00000000..08a5f5a3
--- /dev/null
+++ b/templates/system/sysctl/custom/node.tag/value/node.def
@@ -0,0 +1,8 @@
+priority: 319 # Failure barrier only - no ordering constraints
+
+type: txt
+help: Configure sysctl option
+val_help: <value>; Set sysctl option value
+
+update: sudo /opt/vyatta/sbin/vyatta_update_sysctl.pl --option $VAR(../@) $VAR(@)
+