Catch an extra X on DHCP.
Spotted by the eagle eyes of: Pierre DAVID <Pierre.David@prism.uvsq.fr>
This commit is contained in:
parent
b3bc7a4bb0
commit
50b14091b7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=50470
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.network,v 1.55 1999/08/22 23:26:03 brian Exp $
|
||||
# $Id: rc.network,v 1.56 1999/08/25 16:01:37 sheldonh Exp $
|
||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||
|
||||
# Note that almost all the user-configurable behavior is no longer in
|
||||
@ -64,7 +64,7 @@ network_pass1() {
|
||||
eval ifconfig_args=\$ifconfig_${ifn}
|
||||
if [ -n "${ifconfig_args}" ] ; then
|
||||
# See if we are using DHCP
|
||||
if [ "${ifconfig_args}" = "XDHCP" ]; then
|
||||
if [ "${ifconfig_args}" = "DHCP" ]; then
|
||||
${dhcp_program} ${dhcp_flags} ${ifn}
|
||||
else
|
||||
ifconfig ${ifn} ${ifconfig_args}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.network,v 1.55 1999/08/22 23:26:03 brian Exp $
|
||||
# $Id: rc.network,v 1.56 1999/08/25 16:01:37 sheldonh Exp $
|
||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||
|
||||
# Note that almost all the user-configurable behavior is no longer in
|
||||
@ -64,7 +64,7 @@ network_pass1() {
|
||||
eval ifconfig_args=\$ifconfig_${ifn}
|
||||
if [ -n "${ifconfig_args}" ] ; then
|
||||
# See if we are using DHCP
|
||||
if [ "${ifconfig_args}" = "XDHCP" ]; then
|
||||
if [ "${ifconfig_args}" = "DHCP" ]; then
|
||||
${dhcp_program} ${dhcp_flags} ${ifn}
|
||||
else
|
||||
ifconfig ${ifn} ${ifconfig_args}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.network,v 1.55 1999/08/22 23:26:03 brian Exp $
|
||||
# $Id: rc.network,v 1.56 1999/08/25 16:01:37 sheldonh Exp $
|
||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||
|
||||
# Note that almost all the user-configurable behavior is no longer in
|
||||
@ -64,7 +64,7 @@ network_pass1() {
|
||||
eval ifconfig_args=\$ifconfig_${ifn}
|
||||
if [ -n "${ifconfig_args}" ] ; then
|
||||
# See if we are using DHCP
|
||||
if [ "${ifconfig_args}" = "XDHCP" ]; then
|
||||
if [ "${ifconfig_args}" = "DHCP" ]; then
|
||||
${dhcp_program} ${dhcp_flags} ${ifn}
|
||||
else
|
||||
ifconfig ${ifn} ${ifconfig_args}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.network,v 1.55 1999/08/22 23:26:03 brian Exp $
|
||||
# $Id: rc.network,v 1.56 1999/08/25 16:01:37 sheldonh Exp $
|
||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||
|
||||
# Note that almost all the user-configurable behavior is no longer in
|
||||
@ -64,7 +64,7 @@ network_pass1() {
|
||||
eval ifconfig_args=\$ifconfig_${ifn}
|
||||
if [ -n "${ifconfig_args}" ] ; then
|
||||
# See if we are using DHCP
|
||||
if [ "${ifconfig_args}" = "XDHCP" ]; then
|
||||
if [ "${ifconfig_args}" = "DHCP" ]; then
|
||||
${dhcp_program} ${dhcp_flags} ${ifn}
|
||||
else
|
||||
ifconfig ${ifn} ${ifconfig_args}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.network,v 1.55 1999/08/22 23:26:03 brian Exp $
|
||||
# $Id: rc.network,v 1.56 1999/08/25 16:01:37 sheldonh Exp $
|
||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||
|
||||
# Note that almost all the user-configurable behavior is no longer in
|
||||
@ -64,7 +64,7 @@ network_pass1() {
|
||||
eval ifconfig_args=\$ifconfig_${ifn}
|
||||
if [ -n "${ifconfig_args}" ] ; then
|
||||
# See if we are using DHCP
|
||||
if [ "${ifconfig_args}" = "XDHCP" ]; then
|
||||
if [ "${ifconfig_args}" = "DHCP" ]; then
|
||||
${dhcp_program} ${dhcp_flags} ${ifn}
|
||||
else
|
||||
ifconfig ${ifn} ${ifconfig_args}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.network,v 1.55 1999/08/22 23:26:03 brian Exp $
|
||||
# $Id: rc.network,v 1.56 1999/08/25 16:01:37 sheldonh Exp $
|
||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||
|
||||
# Note that almost all the user-configurable behavior is no longer in
|
||||
@ -64,7 +64,7 @@ network_pass1() {
|
||||
eval ifconfig_args=\$ifconfig_${ifn}
|
||||
if [ -n "${ifconfig_args}" ] ; then
|
||||
# See if we are using DHCP
|
||||
if [ "${ifconfig_args}" = "XDHCP" ]; then
|
||||
if [ "${ifconfig_args}" = "DHCP" ]; then
|
||||
${dhcp_program} ${dhcp_flags} ${ifn}
|
||||
else
|
||||
ifconfig ${ifn} ${ifconfig_args}
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh -
|
||||
#
|
||||
# $Id: rc.network,v 1.55 1999/08/22 23:26:03 brian Exp $
|
||||
# $Id: rc.network,v 1.56 1999/08/25 16:01:37 sheldonh Exp $
|
||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||
|
||||
# Note that almost all the user-configurable behavior is no longer in
|
||||
@ -64,7 +64,7 @@ network_pass1() {
|
||||
eval ifconfig_args=\$ifconfig_${ifn}
|
||||
if [ -n "${ifconfig_args}" ] ; then
|
||||
# See if we are using DHCP
|
||||
if [ "${ifconfig_args}" = "XDHCP" ]; then
|
||||
if [ "${ifconfig_args}" = "DHCP" ]; then
|
||||
${dhcp_program} ${dhcp_flags} ${ifn}
|
||||
else
|
||||
ifconfig ${ifn} ${ifconfig_args}
|
||||
|
Loading…
Reference in New Issue
Block a user