Changed pointer type from caddr_t to void * for fillw, insw, outsw, and
[unix-history] / etc / netstart
CommitLineData
25767e9e
RG
1#!/bin/sh -
2#
d33b56c6
GW
3# $Id$
4# From: @(#)netstart 5.9 (Berkeley) 3/30/91
25767e9e
RG
5
6routedflags=-q
67c1c3f5 7timedflags=NO
25767e9e 8rwhod=NO
d33b56c6 9sendmail_flags="-bd -q30m"
67c1c3f5
RG
10#kerberos_server=YES
11#nfs_server=YES
12#name_server=YES
13#gated=YES
25767e9e 14
67c1c3f5
RG
15# my-name is my symbolic name
16# my-netmask is specified in /etc/networks
25767e9e 17#
c70d8950 18hostname=`cat /etc/myname`
25767e9e 19hostname $hostname
c70d8950 20
79994279 21# ifconfig ie0 inet $hostname netmask my-netmask
67c1c3f5 22# ifconfig is0 inet $hostname netmask my-netmask
d3645397 23# ifconfig ed0 inet $hostname netmask my-netmask
25767e9e
RG
24
25# set the address for the loopback interface
c70d8950 26ifconfig lo0 inet localhost
25767e9e
RG
27
28# use loopback, not the wire
67c1c3f5 29# route add $hostname localhost