summaryrefslogtreecommitdiff
path: root/templates/system/login/radius-server/node.def
blob: d12be764a86c732524d4a7f21b46b480a769740f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
tag:
type: ipv4
help: "Radius server authentication configuration"
# need mandatory secret. also need port & timeout (default values?)
create: "sh -c \"touch /etc/raddb/server && \
sed -i '/$(@)/d' /etc/raddb/server && \
echo \\\"$(@):$(port/@)\t$(secret/@)\t$(timeout/@)\\\" \
>> /etc/raddb/server\" "
update: "sh -c \"touch /etc/raddb/server && \
sed -i '/$(@)/d' /etc/raddb/server && \
echo \\\"$(@):$(port/@)\t$(secret/@)\t$(timeout/@)\\\" \
>> /etc/raddb/server\" "
delete: "sh -c \"touch /etc/raddb/server && \
sed -i '/$(@)/d' /etc/raddb/server\" "