diff options
author | murray <murray@FreeBSD.org> | 2001-09-05 08:10:04 +0000 |
---|---|---|
committer | murray <murray@FreeBSD.org> | 2001-09-05 08:10:04 +0000 |
commit | fd2e232acda02b6589658680b03265d27e90db84 (patch) | |
tree | c7411effd45dfc4640594a592c17725a92c39050 /usr.sbin/sysinstall | |
parent | ce6a1843da538f25bbe2972e19bfc19704b864cc (diff) | |
download | FreeBSD-src-fd2e232acda02b6589658680b03265d27e90db84.zip FreeBSD-src-fd2e232acda02b6589658680b03265d27e90db84.tar.gz |
Allow network device name to be given on the command line in the
interactive case. This already works for non-interactive installs,
but at least one user thinks it would be useful and it certainly seems
more correct to allow it here as well.
So, this will now work :
# sysinstall netDev=fxp0 tcpMenuSelect
PR: bin/30229
Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
Diffstat (limited to 'usr.sbin/sysinstall')
-rw-r--r-- | usr.sbin/sysinstall/tcpip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/sysinstall/tcpip.c b/usr.sbin/sysinstall/tcpip.c index 6d13c69..424b027 100644 --- a/usr.sbin/sysinstall/tcpip.c +++ b/usr.sbin/sysinstall/tcpip.c @@ -600,7 +600,7 @@ tcpDeviceSelect(void) Device **devs, *rval; int cnt; - devs = deviceFind(NULL, DEVICE_TYPE_NETWORK); + devs = deviceFind(variable_get(VAR_NETWORK_DEVICE), DEVICE_TYPE_NETWORK); cnt = deviceCount(devs); rval = NULL; |