diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-05-01 22:50:16 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-05-01 22:50:16 +0200 |
| commit | 20ba8815bc00bcf3548547e78d5d2a2e08de8cfd (patch) | |
| tree | 8c0fa1209b37efd2cbc8ce8b25a2339123c9d5cb /rc/bin/inst/configether | |
| parent | 295c0071c306fa2a25510748c6e832383365a621 (diff) | |
| download | plan9front-20ba8815bc00bcf3548547e78d5d2a2e08de8cfd.tar.xz | |
inst/configether: in manual network configuration, ask for dns server
Diffstat (limited to 'rc/bin/inst/configether')
| -rwxr-xr-x | rc/bin/inst/configether | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rc/bin/inst/configether b/rc/bin/inst/configether index a12d0823f..f61d464c4 100755 --- a/rc/bin/inst/configether +++ b/rc/bin/inst/configether @@ -21,6 +21,10 @@ case go prompt 'network mask'; ipmask=$rd prompt 'gateway address'; gwaddr=$rd export ipaddr ipmask gwaddr + if(~ $#DNSSERVER 0){ + prompt -d $gwaddr 'dns server'; DNSSERVER=$rd + export DNSSERVER + } } export ethermethod gwaddr ipaddr ipmask dhcphost exec ./startether go |
