Fix the ifconfig lines so that they have interface names on them.
This commit is contained in:
parent
74d091bf0a
commit
5ca7c63907
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1375
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh -
|
#!/bin/sh -
|
||||||
#
|
#
|
||||||
# $Id: netstart,v 1.8.2.1 1994/04/18 06:37:29 rgrimes Exp $
|
# $Id: netstart,v 1.9 1994/04/18 06:44:43 rgrimes Exp $
|
||||||
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
||||||
|
|
||||||
routedflags=-q
|
routedflags=-q
|
||||||
@ -21,13 +21,13 @@ hostname=`cat /etc/myname`
|
|||||||
hostname $hostname
|
hostname $hostname
|
||||||
|
|
||||||
if [ -e /etc/hostname.ed0 ]; then
|
if [ -e /etc/hostname.ed0 ]; then
|
||||||
ifconfig `cat /etc/hostname.ed0`
|
ifconfig ed0 `cat /etc/hostname.ed0`
|
||||||
fi
|
fi
|
||||||
if [ -e /etc/hostname.ie0 ]; then
|
if [ -e /etc/hostname.ie0 ]; then
|
||||||
ifconfig `cat /etc/hostname.ie0`
|
ifconfig ie0 `cat /etc/hostname.ie0`
|
||||||
fi
|
fi
|
||||||
if [ -e /etc/hostname.is0 ]; then
|
if [ -e /etc/hostname.is0 ]; then
|
||||||
ifconfig `cat /etc/hostname.is0`
|
ifconfig is0 `cat /etc/hostname.is0`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# set the address for the loopback interface
|
# set the address for the loopback interface
|
||||||
|
Loading…
Reference in New Issue
Block a user