1993-06-20 15:41:45 +02:00
|
|
|
#!/bin/sh -
|
|
|
|
#
|
1994-06-17 21:29:05 +02:00
|
|
|
# $Id: netstart,v 1.11 1994/05/04 08:59:52 rgrimes Exp $
|
1993-11-07 02:19:06 +01:00
|
|
|
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
1993-06-20 15:41:45 +02:00
|
|
|
|
|
|
|
routedflags=-q
|
1993-07-19 23:08:53 +02:00
|
|
|
timedflags=NO
|
1993-12-21 22:28:12 +01:00
|
|
|
xntpdflags="NO"
|
|
|
|
ntpdate="NO"
|
1993-06-20 15:41:45 +02:00
|
|
|
rwhod=NO
|
1993-11-07 02:19:06 +01:00
|
|
|
sendmail_flags="-bd -q30m"
|
1993-07-19 23:08:53 +02:00
|
|
|
#kerberos_server=YES
|
|
|
|
#nfs_server=YES
|
|
|
|
#name_server=YES
|
|
|
|
#gated=YES
|
1993-06-20 15:41:45 +02:00
|
|
|
|
1993-07-19 23:08:53 +02:00
|
|
|
# my-name is my symbolic name
|
|
|
|
# my-netmask is specified in /etc/networks
|
1993-06-20 15:41:45 +02:00
|
|
|
#
|
1993-07-19 21:14:45 +02:00
|
|
|
hostname=`cat /etc/myname`
|
1993-06-20 15:41:45 +02:00
|
|
|
hostname $hostname
|
1993-07-19 21:14:45 +02:00
|
|
|
|
1994-04-18 08:44:43 +02:00
|
|
|
if [ -e /etc/hostname.ed0 ]; then
|
1994-04-18 13:00:44 +02:00
|
|
|
ifconfig ed0 `cat /etc/hostname.ed0`
|
1994-04-18 08:44:43 +02:00
|
|
|
fi
|
1994-05-04 10:59:52 +02:00
|
|
|
if [ -e /etc/hostname.ed1 ]; then
|
|
|
|
ifconfig ed1 `cat /etc/hostname.ed1`
|
|
|
|
fi
|
1994-04-18 08:44:43 +02:00
|
|
|
if [ -e /etc/hostname.ie0 ]; then
|
1994-04-18 13:00:44 +02:00
|
|
|
ifconfig ie0 `cat /etc/hostname.ie0`
|
1994-04-18 08:44:43 +02:00
|
|
|
fi
|
|
|
|
if [ -e /etc/hostname.is0 ]; then
|
1994-04-18 13:00:44 +02:00
|
|
|
ifconfig is0 `cat /etc/hostname.is0`
|
1994-04-18 08:44:43 +02:00
|
|
|
fi
|
1994-06-17 21:29:05 +02:00
|
|
|
if [ -e /etc/hostname.ze0 ]; then
|
|
|
|
ifconfig ze0 `cat /etc/hostname.ze0`
|
|
|
|
fi
|
1993-06-20 15:41:45 +02:00
|
|
|
|
|
|
|
# set the address for the loopback interface
|
1993-07-19 21:14:45 +02:00
|
|
|
ifconfig lo0 inet localhost
|
1993-06-20 15:41:45 +02:00
|
|
|
|
|
|
|
# use loopback, not the wire
|
1993-07-19 23:08:53 +02:00
|
|
|
# route add $hostname localhost
|