Get rid of need for symlinks
[unix-history] / etc / netstart
index 744e5f8..e045423 100644 (file)
@@ -1,29 +1,31 @@
 #!/bin/sh -
 #
 #!/bin/sh -
 #
-#      @(#)netstart    5.9 (Berkeley) 3/30/91
+#      $Id: netstart,v 1.7 1993/11/07 01:19:02 wollman Exp $
+#      From: @(#)netstart      5.9 (Berkeley) 3/30/91
 
 routedflags=-q
 
 routedflags=-q
-timedflags=YES
+timedflags=NO
+xntpdflags="NO"
+ntpdate="NO"
 rwhod=NO
 rwhod=NO
+sendmail_flags="-bd -q30m"
+#kerberos_server=YES
+#nfs_server=YES
+#name_server=YES
+#gated=YES
 
 
-# myname is my symbolic name
+# my-name is my symbolic name
 # my-netmask is specified in /etc/networks
 #
 # my-netmask is specified in /etc/networks
 #
-hostname=myname.my.domain
+hostname=`cat /etc/myname`
 hostname $hostname
 
 hostname $hostname
 
-ifconfig imp0 inet $hostname
-ifconfig ace0 inet $hostname netmask my-netmask
-ifconfig ex0 inet $hostname netmask my-netmask
-ifconfig we0 inet $hostname netmask my-netmask
-ifconfig ne0 inet $hostname netmask my-netmask
-
-# for en ethernet interface, load microcode before ifconfig
-# /etc/enpload /dev/enp0ram /etc/enpcode       > /dev/console 2>&1
-ifconfig en0 inet $hostname netmask my-netmask
+# ifconfig ie0 inet $hostname netmask my-netmask
+# ifconfig is0 inet $hostname netmask my-netmask
+# ifconfig ed0 inet $hostname netmask my-netmask
 
 # set the address for the loopback interface
 ifconfig lo0 inet localhost
 
 # use loopback, not the wire
 
 # set the address for the loopback interface
 ifconfig lo0 inet localhost
 
 # use loopback, not the wire
-route add $hostname localhost
+route add $hostname localhost