Annotation of src/etc/rc.conf, Revision 1.88
1.1 deraadt 1: #!/bin/sh -
2: #
1.88 ! ian 3: # $OpenBSD: rc.conf,v 1.87 2003/05/08 16:53:14 pvalchev 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: ""
1.57 deraadt 12: sshd_flags="" # for normal use: ""
1.39 deraadt 13: named_flags=NO # for normal use: ""
1.76 deraadt 14: rdate_flags=NO # for normal use: [RFC868-host] or [-n RFC1361-host]
1.39 deraadt 15: timed_flags=NO # for normal use: ""
1.51 matt 16: ntpdate_flags=NO # for normal use: NTP server; run before ntpd starts
1.39 deraadt 17: isakmpd_flags=NO # for normal use: ""
18: mopd_flags=NO # for normal use: "-a"
19: apmd_flags=NO # for normal use: ""
20: dhcpd_flags=NO # for normal use: "-q"
1.42 itojun 21: rtadvd_flags=NO # for normal use: list of interfaces
22: # be sure to set net.inet6.ip6.forwarding=1
23: route6d_flags=NO # for normal use: ""
24: # be sure to set net.inet6.ip6.forwarding=1
25: rtsold_flags=NO # for normal use: interface
26: # be sure to set net.inet6.ip6.forwarding=0
27: # be sure to set net.inet6.ip6.accept_rtadv=1
1.62 fgsch 28: lpd_flags=NO # for normal use: "" (or "-l" for debugging)
1.75 deraadt 29:
30: # use -u to disable chroot, see httpd(8)
31: httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8))
1.69 millert 32:
1.77 deraadt 33: # For normal use: "-L sm-mta -bd -q30m", and note there is a cron job
1.69 millert 34: sendmail_flags="-L sm-mta -C/etc/mail/localhost.cf -bd -q30m"
1.84 lebel 35: spamd_flags=NO # for normal use: "" and see spamd-setup(8)
1.33 downsj 36:
37: # Set to NO if ftpd is running out of inetd
1.39 deraadt 38: ftpd_flags=NO # for non-inetd use: "-D"
1.41 fgsch 39:
40: # Set to NO if identd is running out of inetd
41: identd_flags=NO # for non-inetd use: "-b -u nobody -elo"
1.19 deraadt 42:
43: # On some architectures, you must also disable console getty in /etc/ttys
1.39 deraadt 44: xdm_flags=NO # for normal use: ""
1.52 aaron 45:
1.82 miod 46: # For enabling console mouse support (i386 and alpha only)
1.60 aaron 47: wsmoused_flags=NO # for ps/2 or usb mice: "", serial: "-p /dev/cua00"
1.1 deraadt 48:
49: # set the following to "YES" to turn them on
50: rwhod=NO
1.48 mickey 51: nfs_server=NO # see sysctl.conf for nfs client configuration
1.1 deraadt 52: lockd=NO
53: amd=NO
1.66 deraadt 54: pf=NO # Packet filter / NAT
1.78 deraadt 55: portmap=NO # Note: inetd(8) rpc services need portmap too
1.14 art 56: inetd=YES # almost always needed
1.56 krw 57: check_quotas=YES # NO may be desirable in some YP environments
1.31 deraadt 58: ntpd=YES # run ntpd if it exists
1.63 hin 59:
1.64 hin 60: krb5_master_kdc=NO # KerberosV master KDC. Run 'info heimdal' for help.
1.63 hin 61: krb5_slave_kdc=NO # KerberosV slave KDC.
1.32 art 62: afs=NO # mount and run afs
1.35 niklas 63:
64: # Multicast routing configuration
65: # Please look at /etc/netstart for a detailed description if you change these
66: multicast_host=NO # Route all multicast packets to a single interface
67: multicast_router=NO # A multicast routing daemon will be run, e.g. mrouted
1.1 deraadt 68:
69: # miscellaneous other flags
70: # only used if the appropriate server is marked YES above
1.72 tholo 71: savecore_flags= # "-z" to compress
1.1 deraadt 72: ypserv_flags= # E.g. -1 for YP v1, -d for DNS etc
1.6 deraadt 73: yppasswdd_flags= # "-d /etc/yp" if passwd files are in /etc/yp
1.9 downsj 74: nfsd_flags="-tun 4" # Crank the 4 for a busy NFS fileserver
1.1 deraadt 75: amd_dir=/tmp_mnt # AMD's mount directory
76: amd_master=/etc/amd/master # AMD 'master' map
1.40 millert 77: syslogd_flags= # add more flags, ie. "-u -a /chroot/dev/log"
1.65 kjell 78: pf_rules=/etc/pf.conf # Packet filter rules file
1.68 deraadt 79: pflogd_flags= # add more flags, ie. "-s 256"
1.32 art 80: afs_mount_point=/afs # Mountpoint for AFS
81: afs_device=/dev/xfs0 # Device used by afsd
82: afsd_flags=-z # Flags passed to afsd
1.87 pvalchev 83: shlib_dirs= # extra directories for ldconfig, separated
84: # by space
1.45 deraadt 85:
86: local_rcconf="/etc/rc.conf.local"
1.49 todd 87:
88: [ -f ${local_rcconf} ] && . ${local_rcconf} # Do not edit this line