Annotation of src/etc/rc.conf, Revision 1.136
1.1 deraadt 1: #!/bin/sh -
2: #
1.136 ! michele 3: # $OpenBSD: rc.conf,v 1.135 2010/04/23 06:29:36 ratchov Exp $
1.1 deraadt 4:
5: # set these to "NO" to turn them off. otherwise, they're used as flags
1.136 ! michele 6: ldpd_flags=NO # for normal use: ""
1.118 norby 7: ripd_flags=NO # for normal use: ""
1.39 deraadt 8: mrouted_flags=NO # for normal use: "", if activated
1.35 niklas 9: # be sure to enable multicast_router below.
1.114 norby 10: dvmrpd_flags=NO # for normal use: ""
1.105 henning 11: ospfd_flags=NO # for normal use: ""
1.125 norby 12: ospf6d_flags=NO # for normal use: ""
1.95 henning 13: bgpd_flags=NO # for normal use: ""
1.39 deraadt 14: rarpd_flags=NO # for normal use: "-a"
15: bootparamd_flags=NO # for normal use: ""
16: rbootd_flags=NO # for normal use: ""
1.57 deraadt 17: sshd_flags="" # for normal use: ""
1.39 deraadt 18: named_flags=NO # for normal use: ""
1.96 jakob 19: rdate_flags=NO # for normal use: [RFC868-host] or [-n RFC2030-host]
1.39 deraadt 20: timed_flags=NO # for normal use: ""
1.130 mbalmer 21: ldattach_flags=NO # for normal use: "[options] linedisc cua-device"
1.102 henning 22: ntpd_flags=NO # for normal use: ""
1.39 deraadt 23: isakmpd_flags=NO # for normal use: ""
1.116 mcbride 24: sasyncd_flags=NO # for normal use: ""
1.39 deraadt 25: mopd_flags=NO # for normal use: "-a"
26: apmd_flags=NO # for normal use: ""
1.99 henning 27: dhcpd_flags=NO # for normal use: ""
1.115 norby 28: dhcrelay_flags=NO # for normal use: "-i interface [server]"
1.42 itojun 29: rtadvd_flags=NO # for normal use: list of interfaces
30: # be sure to set net.inet6.ip6.forwarding=1
31: route6d_flags=NO # for normal use: ""
32: # be sure to set net.inet6.ip6.forwarding=1
33: rtsold_flags=NO # for normal use: interface
34: # be sure to set net.inet6.ip6.forwarding=0
35: # be sure to set net.inet6.ip6.accept_rtadv=1
1.62 fgsch 36: lpd_flags=NO # for normal use: "" (or "-l" for debugging)
1.91 henning 37: sensorsd_flags=NO # for normal use: ""
1.97 grange 38: hotplugd_flags=NO # for normal use: ""
1.107 henning 39: watchdogd_flags=NO # for normal use: ""
1.109 camield 40: ftpproxy_flags=NO # for normal use: ""
1.111 reyk 41: hostapd_flags=NO # for normal use: ""
1.117 mpf 42: ifstated_flags=NO # for normal use: ""
1.127 deraadt 43: relayd_flags=NO # for normal use: ""
1.128 reyk 44: snmpd_flags=NO # for normal use: ""
1.132 jacekm 45: smtpd_flags=NO # for normal use: ""
1.135 ratchov 46: aucat_flags=NO # for normal use: ""
1.75 deraadt 47:
48: # use -u to disable chroot, see httpd(8)
49: httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8))
1.69 millert 50:
1.77 deraadt 51: # For normal use: "-L sm-mta -bd -q30m", and note there is a cron job
1.69 millert 52: sendmail_flags="-L sm-mta -C/etc/mail/localhost.cf -bd -q30m"
1.126 jmc 53: spamd_flags=NO # for normal use: "" and see spamd(8)
1.123 beck 54: spamd_black=NO # set to YES to run spamd without greylisting
1.104 henning 55: spamlogd_flags="" # use eg. "-i interface" and see spamlogd(8)
1.33 downsj 56:
57: # Set to NO if ftpd is running out of inetd
1.39 deraadt 58: ftpd_flags=NO # for non-inetd use: "-D"
1.41 fgsch 59:
60: # Set to NO if identd is running out of inetd
1.89 henning 61: identd_flags=NO # for non-inetd use: "-b -elo"
1.19 deraadt 62:
63: # On some architectures, you must also disable console getty in /etc/ttys
1.39 deraadt 64: xdm_flags=NO # for normal use: ""
1.52 aaron 65:
1.108 deraadt 66: # For enabling console mouse support (i386 alpha amd64)
1.60 aaron 67: wsmoused_flags=NO # for ps/2 or usb mice: "", serial: "-p /dev/cua00"
1.1 deraadt 68:
69: # set the following to "YES" to turn them on
70: rwhod=NO
1.48 mickey 71: nfs_server=NO # see sysctl.conf for nfs client configuration
1.1 deraadt 72: lockd=NO
73: amd=NO
1.133 henning 74: pf=YES # Packet filter / NAT
1.110 hshoexer 75: ipsec=NO # IPsec
1.131 uwe 76: bt=NO # Bluetooth
1.78 deraadt 77: portmap=NO # Note: inetd(8) rpc services need portmap too
1.14 art 78: inetd=YES # almost always needed
1.56 krw 79: check_quotas=YES # NO may be desirable in some YP environments
1.121 ajacouto 80: accounting=NO # process accounting (using /var/account/acct)
1.63 hin 81:
1.64 hin 82: krb5_master_kdc=NO # KerberosV master KDC. Run 'info heimdal' for help.
1.63 hin 83: krb5_slave_kdc=NO # KerberosV slave KDC.
1.32 art 84: afs=NO # mount and run afs
1.35 niklas 85:
86: # Multicast routing configuration
1.90 david 87: # Please look at netstart(8) for a detailed description if you change these
1.35 niklas 88: multicast_host=NO # Route all multicast packets to a single interface
89: multicast_router=NO # A multicast routing daemon will be run, e.g. mrouted
1.1 deraadt 90:
91: # miscellaneous other flags
92: # only used if the appropriate server is marked YES above
1.72 tholo 93: savecore_flags= # "-z" to compress
1.1 deraadt 94: ypserv_flags= # E.g. -1 for YP v1, -d for DNS etc
1.92 deraadt 95: yppasswdd_flags=NO # "-d /etc/yp" if passwd files are in /etc/yp
1.9 downsj 96: nfsd_flags="-tun 4" # Crank the 4 for a busy NFS fileserver
1.1 deraadt 97: amd_master=/etc/amd/master # AMD 'master' map
1.40 millert 98: syslogd_flags= # add more flags, ie. "-u -a /chroot/dev/log"
1.65 kjell 99: pf_rules=/etc/pf.conf # Packet filter rules file
1.110 hshoexer 100: ipsec_rules=/etc/ipsec.conf # IPsec rules file
1.131 uwe 101: bt_rules=/etc/bt.conf # Bluetooth rules file
1.68 deraadt 102: pflogd_flags= # add more flags, ie. "-s 256"
1.93 beck 103: afsd_flags= # Flags passed to afsd
1.87 pvalchev 104: shlib_dirs= # extra directories for ldconfig, separated
105: # by space
1.45 deraadt 106:
107: local_rcconf="/etc/rc.conf.local"
1.49 todd 108:
109: [ -f ${local_rcconf} ] && . ${local_rcconf} # Do not edit this line