diff options
Diffstat (limited to 'templates/vpn')
-rw-r--r-- | templates/vpn/ipsec/site-to-site/peer/node.tag/dhcp-interface/node.def | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/vpn/ipsec/site-to-site/peer/node.tag/dhcp-interface/node.def b/templates/vpn/ipsec/site-to-site/peer/node.tag/dhcp-interface/node.def new file mode 100644 index 0000000..5297f5a --- /dev/null +++ b/templates/vpn/ipsec/site-to-site/peer/node.tag/dhcp-interface/node.def @@ -0,0 +1,7 @@ +type: txt +help: DHCP interface to listen on +allowed: + local -a array ; + array=( /var/lib/dhcp3/eth* /var/lib/dhcp3/br* ) ; + echo -n ${array[@]##*/} + |