diff options
| author | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-03-29 18:23:21 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@gmx.de> | 2012-03-29 18:23:21 +0200 |
| commit | f000760ec0970b7f9d5e61ba556f7e3b6aecf703 (patch) | |
| tree | d517e26a770de7f11ecfd0c19fd2f27c9febf8d6 /rc/bin/termrc | |
| parent | 9cb700018a46928cedd5591ef6ddc18562492945 (diff) | |
| download | plan9front-f000760ec0970b7f9d5e61ba556f7e3b6aecf703.tar.xz | |
use sysname as dhcp host
Diffstat (limited to 'rc/bin/termrc')
| -rwxr-xr-x | rc/bin/termrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/bin/termrc b/rc/bin/termrc index 8a109274d..c54fa6f8a 100755 --- a/rc/bin/termrc +++ b/rc/bin/termrc @@ -53,7 +53,7 @@ if(test -r /net/ipselftab){ ether=`{ndb/query sys $sysname ether} if(~ $#ether 1){ # try /lib/ndb first, then do dhcp - ip/ipconfig -N >[2]/dev/null || ip/ipconfig + ip/ipconfig -N >[2]/dev/null || ip/ipconfig -h $sysname } rm -f /env/ether } |
