diff options
author | Jason Hendry <jhendry@mintel.com> | 2014-11-01 10:15:40 +0000 |
---|---|---|
committer | Jason Hendry <jhendry@mintel.com> | 2014-11-01 10:15:40 +0000 |
commit | 542cc6a50f55570dafc26abecd731adedd606d18 (patch) | |
tree | 2ec77a037224b07d46a9b349eef17e683ab0f271 /templates/system/sysctl | |
parent | 1eb080a43e18bc0975a256496175a586d2f2e632 (diff) | |
download | vyatta-cfg-system-542cc6a50f55570dafc26abecd731adedd606d18.tar.gz vyatta-cfg-system-542cc6a50f55570dafc26abecd731adedd606d18.zip |
Adding all + custom sysctl option nodes
Diffstat (limited to 'templates/system/sysctl')
-rw-r--r-- | templates/system/sysctl/all/node.def | 5 | ||||
-rw-r--r-- | templates/system/sysctl/all/node.tag/node.def | 1 | ||||
-rw-r--r-- | templates/system/sysctl/all/node.tag/value/node.def | 8 | ||||
-rw-r--r-- | templates/system/sysctl/custom/node.def | 5 | ||||
-rw-r--r-- | templates/system/sysctl/custom/node.tag/node.def | 1 | ||||
-rw-r--r-- | templates/system/sysctl/custom/node.tag/value/node.def | 8 | ||||
-rw-r--r-- | templates/system/sysctl/node.def | 2 |
7 files changed, 29 insertions, 1 deletions
diff --git a/templates/system/sysctl/all/node.def b/templates/system/sysctl/all/node.def new file mode 100644 index 00000000..47f08dbc --- /dev/null +++ b/templates/system/sysctl/all/node.def @@ -0,0 +1,5 @@ +tag: +priority: 318 +type: txt +help: List all sysctl options (BROKEN: Does not list all values) +allowed: /sbin/sysctl -N -a 2>&- diff --git a/templates/system/sysctl/all/node.tag/node.def b/templates/system/sysctl/all/node.tag/node.def new file mode 100644 index 00000000..b688551e --- /dev/null +++ b/templates/system/sysctl/all/node.tag/node.def @@ -0,0 +1 @@ +help: Value for sysctl option diff --git a/templates/system/sysctl/all/node.tag/value/node.def b/templates/system/sysctl/all/node.tag/value/node.def new file mode 100644 index 00000000..ac4daa52 --- /dev/null +++ b/templates/system/sysctl/all/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: <integer>; Set sysctl option + +update: sudo /opt/vyatta/sbin/vyatta_update_sysctl.pl --option $VAR(../@) $VAR(@) + 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(@) + diff --git a/templates/system/sysctl/node.def b/templates/system/sysctl/node.def index 95c9435d..6f6ecedc 100644 --- a/templates/system/sysctl/node.def +++ b/templates/system/sysctl/node.def @@ -1 +1 @@ -help: Sysctl parameters +help: Sysctl options |