diff options
author | Murray Stokely <murray@FreeBSD.org> | 2001-09-05 08:10:04 +0000 |
---|---|---|
committer | Murray Stokely <murray@FreeBSD.org> | 2001-09-05 08:10:04 +0000 |
commit | ca61f686015ba4027927282ada927d9c2c4dd1a5 (patch) | |
tree | c7411effd45dfc4640594a592c17725a92c39050 /usr.sbin/sysinstall/tcpip.c | |
parent | 25818ccf8e345790b908504f1d56af4fe077233f (diff) |
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>
Notes
Notes:
svn path=/head/; revision=83065
Diffstat (limited to 'usr.sbin/sysinstall/tcpip.c')
-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 6d13c697628d..424b02719c08 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; |