mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-18 08:52:42 +01:00
d55a595346
gives the flags to be passed to sendmail when it is started. (If it is "NO", sendmail is not started.) Also, always start the portmapper regardless of the value of $nfs_server; this should prevent the inetd complaints we have seen from recurring.
30 lines
602 B
Bash
Executable File
30 lines
602 B
Bash
Executable File
#!/bin/sh -
|
|
#
|
|
# $Id$
|
|
# From: @(#)netstart 5.9 (Berkeley) 3/30/91
|
|
|
|
routedflags=-q
|
|
timedflags=NO
|
|
rwhod=NO
|
|
sendmail_flags="-bd -q30m"
|
|
#kerberos_server=YES
|
|
#nfs_server=YES
|
|
#name_server=YES
|
|
#gated=YES
|
|
|
|
# my-name is my symbolic name
|
|
# my-netmask is specified in /etc/networks
|
|
#
|
|
hostname=`cat /etc/myname`
|
|
hostname $hostname
|
|
|
|
# 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
|
|
# route add $hostname localhost
|