summaryrefslogtreecommitdiff
path: root/templates/service/dns/forwarding/dhcp/node.def
blob: 700f703e4cba54ed36f352678ff8504f650d6279 (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/dhcp3/eth* /var/lib/dhcp3/br* ) ;
         echo  -n ${array[@]##*/}