summaryrefslogtreecommitdiff
path: root/templates/service/dns/forwarding/dhcp/node.def
blob: 8ce8c83f7122726eb592b51b26eb80aa565207f5 (plain)
1
2
3
4
5
6
7
8
multi:
type: txt
help: Set to 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[@]##*/}