home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- # Set the host name. You can use the fully qualified domain name (FQDN) or
- # any short alias name you have specified for your host.
- if test -f /etc/HOSTNAME; then
- hostname `cat /etc/HOSTNAME`
- fi
-
- # Attach the loopback device. Never touch these two lines! They have
- # to stay with the IP address 127.0.0.1!
- ifconfig lo 127.0.0.1
- route add 127.0.0.1
-
- # If you have a ethernet card, uncomment and change the following 3 lines.
- #ifconfig eth0 134.96.5.93 netmask 255.255.255.0 broadcast 134.96.5.255
- #route -n add 134.96.5.0 netmask 255.255.255.0
- #route -n add default gw 134.96.5.1 netmask 0.0.0.0
-
- # Mount all networked filesystems (NFS).
- mount -a -t nfs
-
- if test -x /usr/sbin/portmap; then # always start the SUN RPC Portmapper
- /usr/sbin/portmap
- fi
-
- if test -x /usr/sbin/inetd; then # always start the INET SuperServer
- /usr/sbin/inetd
- fi
-
- # Start the NAMED/BIND name server. Enable this, if you want to use this
- # PC as a name *server*. You don't need it, if you use only other computers
- # as name servers.
- #if [ -x /etc/named ]; then
- # /etc/named
- #fi
-
- # Start the printer daemon.
- #if test -x /usr/sbin/lpd; then
- # /usr/sbin/lpd
- #fi
-
- # Start the NFS daemon. You only need this one, if you *export* one of
- # your local filesystems to some other computers via network.
- # See "man exports" for more. (/etc/exports)
- if test -x /usr/sbin/rpc.nfsd; then
- /usr/sbin/rpc.nfsd
- /usr/sbin/rpc.mountd
- fi
-
- #/usr/lib/news/etc/rc.news &
-
- # End.
-