FreeBSD Bugzilla – Attachment 185214 Details for
Bug 221379
bsdinstall(8): Installer doesn't support default router outside local subnet
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Give the user an option to configure resolv.conf even when they skipped the configuration of network addresses and gateways
always-write-resolvconf.patch (text/plain), 969 bytes, created by
Nils Steinger
on 2017-08-09 23:03:28 UTC
(
hide
)
Description:
Give the user an option to configure resolv.conf even when they skipped the configuration of network addresses and gateways
Filename:
MIME Type:
Creator:
Nils Steinger
Created:
2017-08-09 23:03:28 UTC
Size:
969 bytes
patch
obsolete
>diff --git a/usr.sbin/bsdinstall/scripts/netconfig b/usr.sbin/bsdinstall/scripts/netconfig >index f9913c3..90cfe65 100755 >--- a/usr.sbin/bsdinstall/scripts/netconfig >+++ b/usr.sbin/bsdinstall/scripts/netconfig >@@ -177,7 +177,20 @@ elif [ ${IPV4_AVAIL} -eq 1 ]; then > 'IPv4 DNS #1' 2 0 \"${IP4_1}\" 2 16 16 0 0 > 'IPv4 DNS #2' 3 0 \"${IP4_2}\" 3 16 16 0 0" > else >- exit 0 >+ # Neither IPv4 nor IPv6 was configured >+ dialog --backtitle 'FreeBSD Installer' --title 'Network Configuration' \ >+ --yesno 'No network addresses were configured by the installer. Would you like to continue anyway?' 0 0 >+ if [ $? -eq $DIALOG_OK ]; then >+ RESOLV=" >+ 'Search' 1 0 \"${SEARCH}\" 1 16 50 0 0 >+ 'Nameserver' 2 0 \"Nameserver\" 2 16 50 0 2 >+ 'IPv6 DNS #1' 2 0 \"${IP6_1}\" 2 16 50 0 0 >+ 'IPv6 DNS #2' 3 0 \"${IP6_2}\" 3 16 50 0 0 >+ 'IPv4 DNS #1' 4 0 \"${IP4_1}\" 4 16 16 0 0 >+ 'IPv4 DNS #2' 5 0 \"${IP4_2}\" 5 16 16 0 0" >+ else >+ exit 0 >+ fi > fi > > exec 3>&1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 221379
: 185214 |
185215