diff options
author | jkh <jkh@FreeBSD.org> | 2000-12-14 02:49:02 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 2000-12-14 02:49:02 +0000 |
commit | c8394629dce8024ccb9d10490623035b757c034b (patch) | |
tree | 8b1e5ad94d0002f9b6fdae7211a93c59006db6cb /usr.sbin/sysinstall/tcpip.c | |
parent | 41a7e78c6b5ace25de009b8707f66f8543288720 (diff) | |
download | FreeBSD-src-c8394629dce8024ccb9d10490623035b757c034b.zip FreeBSD-src-c8394629dce8024ccb9d10490623035b757c034b.tar.gz |
Adapt sysinstall to use the new msgNoYes() function which assumes
no as a default. Sysinstall should be both less dangerous and less
annoying as a result of this change, though that's just my opinion
(since they're the defaults which annoy ME the least :).
Diffstat (limited to 'usr.sbin/sysinstall/tcpip.c')
-rw-r--r-- | usr.sbin/sysinstall/tcpip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/sysinstall/tcpip.c b/usr.sbin/sysinstall/tcpip.c index 7f4c600..3f725b5 100644 --- a/usr.sbin/sysinstall/tcpip.c +++ b/usr.sbin/sysinstall/tcpip.c @@ -268,7 +268,7 @@ tcpOpenDialog(Device *devp) /* Try a RTSOL scan if such behavior is desired */ if (!variable_cmp(VAR_TRY_RTSOL, "YES") || - ((!variable_cmp(VAR_TRY_RTSOL, "NO")) && (!msgYesNo("Do you want to try IPv6 configuration of the interface?")))) { + ((!variable_cmp(VAR_TRY_RTSOL, "NO")) && (!msgNoYes("Do you want to try IPv6 configuration of the interface?")))) { int i; int len; @@ -294,7 +294,7 @@ tcpOpenDialog(Device *devp) /* First try a DHCP scan if such behavior is desired */ if (!variable_cmp(VAR_TRY_DHCP, "YES") || - ((!variable_cmp(VAR_TRY_DHCP, "NO")) && (!msgYesNo("Do you want to try DHCP configuration of the interface?")))) { + ((!variable_cmp(VAR_TRY_DHCP, "NO")) && (!msgNoYes("Do you want to try DHCP configuration of the interface?")))) { Mkdir("/var/db"); Mkdir("/var/run"); Mkdir("/tmp"); |