FreeBSD Bugzilla – Attachment 5427 Details for
Bug 12984
/etc/rc* does not contain any support for dhclient
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.10 KB, created by
Remy Card
on 1999-08-05 13:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Remy Card
Created:
1999-08-05 13:50:01 UTC
Size:
1.10 KB
patch
obsolete
>--- usr/src/etc/defaults/rc.conf Tue May 11 14:21:22 1999 >+++ etc/defaults/rc.conf Thu Aug 5 14:20:28 1999 >@@ -31,6 +31,8 @@ > ### Basic network options: ### > hostname="myname.my.domain" # Set this! > nisdomainname="NO" # Set to NIS domain if using NIS (or NO). >+dhcp_program="/sbin/dhclient" # Path to dhcp client program. >+dhcp_flags="" # Additional flags to pass to dhcp client. > firewall_enable="NO" # Set to YES to enable firewall functionality > firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall > firewall_type="UNKNOWN" # Firewall type (see /etc/rc.firewall) >--- usr/src/etc/rc.network Mon Apr 12 17:29:11 1999 >+++ etc/rc.network Wed Aug 4 18:53:35 1999 >@@ -58,7 +58,12 @@ > # Do the primary ifconfig if specified > eval ifconfig_args=\$ifconfig_${ifn} > if [ -n "${ifconfig_args}" ] ; then >- ifconfig ${ifn} ${ifconfig_args} >+ # See if we are using DHCP >+ if [ X"${ifconfig_args}" = X"DHCP" ]; then >+ ${dhcp_program} ${dhcp_flags} ${ifn} >+ else >+ ifconfig ${ifn} ${ifconfig_args} >+ fi > fi > # Check to see if aliases need to be added > alias=0
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 12984
: 5427