Fix the ifconfig lines so that they have interface names on them.
This commit is contained in:
parent
9230c3713f
commit
f1721e458c
@ -1,6 +1,6 @@
|
||||
#!/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
|
||||
|
||||
routedflags=-q
|
||||
@ -21,13 +21,13 @@ hostname=`cat /etc/myname`
|
||||
hostname $hostname
|
||||
|
||||
if [ -e /etc/hostname.ed0 ]; then
|
||||
ifconfig `cat /etc/hostname.ed0`
|
||||
ifconfig ed0 `cat /etc/hostname.ed0`
|
||||
fi
|
||||
if [ -e /etc/hostname.ie0 ]; then
|
||||
ifconfig `cat /etc/hostname.ie0`
|
||||
ifconfig ie0 `cat /etc/hostname.ie0`
|
||||
fi
|
||||
if [ -e /etc/hostname.is0 ]; then
|
||||
ifconfig `cat /etc/hostname.is0`
|
||||
ifconfig is0 `cat /etc/hostname.is0`
|
||||
fi
|
||||
|
||||
# set the address for the loopback interface
|
||||
|
Loading…
Reference in New Issue
Block a user