diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-08-05 14:30:48 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-08-05 14:30:48 +0200 |
| commit | 7d1b9e39f7b1dac4c2ed6e3771585548ccd9e2d4 (patch) | |
| tree | e241f80ea7f222bc35ad4084ffab6a11a61428e5 /rc/bin/inst/ndbsetup | |
| parent | caddc9a6ea0c8aeb2510ec9eda67eb4f2e82a00c (diff) | |
| download | plan9front-7d1b9e39f7b1dac4c2ed6e3771585548ccd9e2d4.tar.xz | |
inst: don't hardcode /net/ether0, might have usb ethernet
Diffstat (limited to 'rc/bin/inst/ndbsetup')
| -rwxr-xr-x | rc/bin/inst/ndbsetup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/bin/inst/ndbsetup b/rc/bin/inst/ndbsetup index 6824c9192..8c72076ef 100755 --- a/rc/bin/inst/ndbsetup +++ b/rc/bin/inst/ndbsetup @@ -3,7 +3,7 @@ # desc: setup network configuration # prereq: confignet copydist -etheraddr=`{cat /net/ether0/addr >[2]/dev/null} +etheraddr=`{cat $netdev/addr >[2]/dev/null} switch($1){ case checkready checkdone |
