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