summaryrefslogtreecommitdiff
path: root/templates/system/config-mgmt/commit-uri/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/config-mgmt/commit-uri/node.def')
-rw-r--r--templates/system/config-mgmt/commit-uri/node.def24
1 files changed, 0 insertions, 24 deletions
diff --git a/templates/system/config-mgmt/commit-uri/node.def b/templates/system/config-mgmt/commit-uri/node.def
deleted file mode 100644
index 7b483f9f..00000000
--- a/templates/system/config-mgmt/commit-uri/node.def
+++ /dev/null
@@ -1,24 +0,0 @@
-multi:
-priority: 400
-type: txt
-help: Commit URI
-
-syntax:expression: exec "/opt/vyatta/sbin/vyatta-config-mgmt.pl \
- --action=valid-uri \
- --uri=\"$VAR(@)\" "; "Invalid URI"
-
-create: if [ "$COMMIT_SIBLING_POSITION" = "LAST" ] || \
- [ "$COMMIT_SIBLING_POSITION" = "FIRSTLAST" ] ; then
- sudo ${vyatta_sbindir}/vyatta-config-mgmt.pl --action=add-uri
- fi;
-
-delete: if [ "$COMMIT_SIBLING_POSITION" = "LAST" ] || \
- [ "$COMMIT_SIBLING_POSITION" = "FIRSTLAST" ] ; then
- sudo ${vyatta_sbindir}/vyatta-config-mgmt.pl --action=del-uri
- fi;
-
-val_help: <uri> ; Uniform Resource Identifier
-comp_help:
- "scp://<user>:<passwd>@<host>/<dir>"
- "ftp://<user>:<passwd>@<host>/<dir>"
- "tftp://<host>/<dir>" \ No newline at end of file