summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1994-04-18 11:00:44 +0000
committerrgrimes <rgrimes@FreeBSD.org>1994-04-18 11:00:44 +0000
commitf1721e458c0edc7da0ac9050e94a84a29a48c59e (patch)
tree81541cd2615c9fe3b0cf5df0306e9b2545863cb0 /etc
parent9230c3713f372ead64308236fd93aa6658f9deb7 (diff)
downloadFreeBSD-src-f1721e458c0edc7da0ac9050e94a84a29a48c59e.zip
FreeBSD-src-f1721e458c0edc7da0ac9050e94a84a29a48c59e.tar.gz
Fix the ifconfig lines so that they have interface names on them.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/netstart8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/netstart b/etc/netstart
index 718aa16..678f11d 100755
--- a/etc/netstart
+++ b/etc/netstart
@@ -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
OpenPOWER on IntegriCloud