summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-03-02 08:15:41 +0000
committerpeter <peter@FreeBSD.org>2001-03-02 08:15:41 +0000
commit39e8581a59ef24bdd9cc44178a148e1ec3cf47f8 (patch)
tree72524d6e86171bf79c56d37b5a85bf525b66e65e /usr.sbin
parent2d4d97b177c92674dae3eab2622a2423bf18e529 (diff)
downloadFreeBSD-src-39e8581a59ef24bdd9cc44178a148e1ec3cf47f8.zip
FreeBSD-src-39e8581a59ef24bdd9cc44178a148e1ec3cf47f8.tar.gz
Ack! I finally got annoyed enough to actually kill this. There is no
need to manually force the network_interfaces variable in /etc/rc.conf, and it only ever gets in the way. rc.network and rc.network6 DTRT with the default of 'auto'. This should have died over a year ago.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/sade/sade.h1
-rw-r--r--usr.sbin/sysinstall/sysinstall.h1
-rw-r--r--usr.sbin/sysinstall/tcpip.c9
3 files changed, 0 insertions, 11 deletions
diff --git a/usr.sbin/sade/sade.h b/usr.sbin/sade/sade.h
index ecbbfc1..a489b85 100644
--- a/usr.sbin/sade/sade.h
+++ b/usr.sbin/sade/sade.h
@@ -120,7 +120,6 @@
#define VAR_GEOMETRY "geometry"
#define VAR_HOSTNAME "hostname"
#define VAR_IFCONFIG "ifconfig_"
-#define VAR_INTERFACES "network_interfaces"
#define VAR_INSTALL_CFG "installConfig"
#define VAR_INSTALL_ROOT "installRoot"
#define VAR_IPADDR "ipaddr"
diff --git a/usr.sbin/sysinstall/sysinstall.h b/usr.sbin/sysinstall/sysinstall.h
index ecbbfc1..a489b85 100644
--- a/usr.sbin/sysinstall/sysinstall.h
+++ b/usr.sbin/sysinstall/sysinstall.h
@@ -120,7 +120,6 @@
#define VAR_GEOMETRY "geometry"
#define VAR_HOSTNAME "hostname"
#define VAR_IFCONFIG "ifconfig_"
-#define VAR_INTERFACES "network_interfaces"
#define VAR_INSTALL_CFG "installConfig"
#define VAR_INSTALL_ROOT "installRoot"
#define VAR_IPADDR "ipaddr"
diff --git a/usr.sbin/sysinstall/tcpip.c b/usr.sbin/sysinstall/tcpip.c
index f466bfe..1be5239 100644
--- a/usr.sbin/sysinstall/tcpip.c
+++ b/usr.sbin/sysinstall/tcpip.c
@@ -515,7 +515,6 @@ netconfig:
if (!cancel) {
DevInfo *di;
char temp[512], ifn[255];
- char *ifaces;
char *pccard;
int ipv4_enable = FALSE;
@@ -558,14 +557,6 @@ netconfig:
if (pccard && strcmp(pccard, "YES") == 0 && ipv4_enable) {
variable_set2("pccard_ifconfig", temp, 1);
}
- ifaces = variable_get(VAR_INTERFACES);
- if (!ifaces)
- variable_set2(VAR_INTERFACES, ifaces = "lo0", 1);
- /* Only add it if it's not there already */
- if (strcmp(ifaces, "auto") && !strstr(ifaces, devp->name)) {
- sprintf(ifn, "%s %s", devp->name, ifaces);
- variable_set2(VAR_INTERFACES, ifn, 1);
- }
if (use_rtsol)
variable_set2(VAR_IPV6_ENABLE, "YES", 1);
if (!use_dhcp)
OpenPOWER on IntegriCloud