summaryrefslogtreecommitdiff
path: root/templates/service/dns/forwarding/dhcp/node.def
blob: f19b000e0a1101a9f08f31d936aa7c21321a4082 (plain)
1
2
3
4
5
6
7
8
multi:
type: txt
help: Use nameservers received from DHCP server for specified interface
commit:expression: exec "/opt/vyatta/sbin/vyatta-dns-forwarding.pl --dhcp-interface $VAR(@)"
allowed:
         local -a array ;
         array=( /var/lib/dhcp/eth* /var/lib/dhcp/br* ) ;
         echo  -n ${array[@]##*/}