Annotation of src/etc/rc.conf, Revision 1.41
1.1 deraadt 1: #!/bin/sh -
2: #
1.41 ! fgsch 3: # $OpenBSD: rc.conf,v 1.40 1999/10/17 00:58:02 millert Exp $
1.1 deraadt 4:
5: # set these to "NO" to turn them off. otherwise, they're used as flags
1.39 deraadt 6: routed_flags=NO # for normal use: "-q"
7: mrouted_flags=NO # for normal use: "", if activated
1.35 niklas 8: # be sure to enable multicast_router below.
1.39 deraadt 9: rarpd_flags=NO # for normal use: "-a"
10: bootparamd_flags=NO # for normal use: ""
11: rbootd_flags=NO # for normal use: ""
12: sendmail_flags="-q30m" # for normal use: "-bd -q30m"
13: smtpfwdd_flags=NO # for normal use: "", and no "-bd" above.
14: named_flags=NO # for normal use: ""
15: timed_flags=NO # for normal use: ""
16: photurisd_flags=NO # for normal use: ""
17: isakmpd_flags=NO # for normal use: ""
18: mopd_flags=NO # for normal use: "-a"
19: httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8))
20: apmd_flags=NO # for normal use: ""
21: dhcpd_flags=NO # for normal use: "-q"
1.33 downsj 22:
23: # Set to NO if ftpd is running out of inetd
1.39 deraadt 24: ftpd_flags=NO # for non-inetd use: "-D"
1.41 ! fgsch 25:
! 26: # Set to NO if identd is running out of inetd
! 27: identd_flags=NO # for non-inetd use: "-b -u nobody -elo"
1.19 deraadt 28:
29: # On some architectures, you must also disable console getty in /etc/ttys
1.39 deraadt 30: xdm_flags=NO # for normal use: ""
1.1 deraadt 31:
32: # set the following to "YES" to turn them on
33: rwhod=NO
34: nfs_server=NO
35: nfs_client=NO
36: lockd=NO
37: gated=NO
1.15 deraadt 38: kerberos_server=NO # kerberos server. run 'info kth-krb' for assistance.
1.14 art 39: kerberos_slave=NO # kerberos slave server.
1.1 deraadt 40: amd=NO
41: ipfilter=NO
1.18 deraadt 42: ipnat=NO # for "YES" ipfilter must also be "YES"
1.14 art 43: portmap=YES # almost always needed
44: inetd=YES # almost always needed
45: lpd=NO # printing daemons
46: check_quotas=YES # NO may be desireable in some YP environments
1.23 deraadt 47: sshd=YES # run sshd if it exists
1.31 deraadt 48: ntpd=YES # run ntpd if it exists
1.32 art 49: afs=NO # mount and run afs
1.35 niklas 50:
51: # Multicast routing configuration
52: # Please look at /etc/netstart for a detailed description if you change these
53: multicast_host=NO # Route all multicast packets to a single interface
54: multicast_router=NO # A multicast routing daemon will be run, e.g. mrouted
1.1 deraadt 55:
56: # miscellaneous other flags
57: # only used if the appropriate server is marked YES above
58: gated_flags=
59: ypserv_flags= # E.g. -1 for YP v1, -d for DNS etc
1.6 deraadt 60: yppasswdd_flags= # "-d /etc/yp" if passwd files are in /etc/yp
1.9 downsj 61: nfsd_flags="-tun 4" # Crank the 4 for a busy NFS fileserver
62: nfsiod_flags="-n 4" # Crank the 4 for a busy NFS client
1.1 deraadt 63: amd_dir=/tmp_mnt # AMD's mount directory
64: amd_master=/etc/amd/master # AMD 'master' map
65: ipfilter_rules=/etc/ipf.rules # Rules for IP packet filtering
1.18 deraadt 66: ipnat_rules=/etc/ipnat.rules # Rules for Network Address Translation
1.30 pattonme 67: ipmon_flags=-Ds # To disable logging, use ipmon_flags=NO
1.40 millert 68: syslogd_flags= # add more flags, ie. "-u -a /chroot/dev/log"
1.21 millert 69: named_user=named # Named should not run as root unless neccesary
1.22 millert 70: named_chroot=/var/named # Where to chroot named if not empty
1.32 art 71: afs_mount_point=/afs # Mountpoint for AFS
72: afs_device=/dev/xfs0 # Device used by afsd
73: afsd_flags=-z # Flags passed to afsd
1.36 millert 74: shlib_dirs= # extra directories for ldconfig