summaryrefslogtreecommitdiff
path: root/templates/system/login/radius-server/node.def
diff options
context:
space:
mode:
Diffstat (limited to 'templates/system/login/radius-server/node.def')
-rw-r--r--templates/system/login/radius-server/node.def12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/system/login/radius-server/node.def b/templates/system/login/radius-server/node.def
index 0f4ffbfe..6d87890c 100644
--- a/templates/system/login/radius-server/node.def
+++ b/templates/system/login/radius-server/node.def
@@ -1,10 +1,10 @@
tag:
type: ipv4
-help: "Radius server authentication configuration"
+help: Radius server authentication configuration
# need mandatory secret. also need port & timeout (default values?)
-update: "sudo sh -c \"touch /etc/raddb/server && \
-sed -i '/$(@)/d' /etc/raddb/server && \
-echo \\\"$(@):$(port/@)\t$(secret/@)\t$(timeout/@)\\\" \
+update:expression: "sudo sh -c \"touch /etc/raddb/server && \
+sed -i '/$VAR(@)/d' /etc/raddb/server && \
+echo \\\"$VAR(@):$VAR(port/@)\t$VAR(secret/@)\t$VAR(timeout/@)\\\" \
>> /etc/raddb/server\" "
-delete: "sudo sh -c \"touch /etc/raddb/server && \
-sed -i '/$(@)/d' /etc/raddb/server\" "
+delete:expression: "sudo sh -c \"touch /etc/raddb/server && \
+sed -i '/$VAR(@)/d' /etc/raddb/server\" "