rc.conf revision 1.138
1#!/bin/sh - 2# 3# $OpenBSD: rc.conf,v 1.138 2010/07/27 08:37:33 martinh Exp $ 4 5# set these to "NO" to turn them off. otherwise, they're used as flags 6ldpd_flags=NO # for normal use: "" 7ripd_flags=NO # for normal use: "" 8mrouted_flags=NO # for normal use: "", if activated 9 # be sure to enable multicast_router below. 10dvmrpd_flags=NO # for normal use: "" 11ospfd_flags=NO # for normal use: "" 12ospf6d_flags=NO # for normal use: "" 13bgpd_flags=NO # for normal use: "" 14rarpd_flags=NO # for normal use: "-a" 15bootparamd_flags=NO # for normal use: "" 16rbootd_flags=NO # for normal use: "" 17sshd_flags="" # for normal use: "" 18named_flags=NO # for normal use: "" 19rdate_flags=NO # for normal use: [RFC868-host] or [-n RFC2030-host] 20timed_flags=NO # for normal use: "" 21ldattach_flags=NO # for normal use: "[options] linedisc cua-device" 22ntpd_flags=NO # for normal use: "" 23isakmpd_flags=NO # for normal use: "" 24iked_flags=NO # for normal use: "" 25sasyncd_flags=NO # for normal use: "" 26mopd_flags=NO # for normal use: "-a" 27apmd_flags=NO # for normal use: "" 28dhcpd_flags=NO # for normal use: "" 29dhcrelay_flags=NO # for normal use: "-i interface [server]" 30rtadvd_flags=NO # for normal use: list of interfaces 31 # be sure to set net.inet6.ip6.forwarding=1 32route6d_flags=NO # for normal use: "" 33 # be sure to set net.inet6.ip6.forwarding=1 34rtsold_flags=NO # for normal use: interface 35 # be sure to set net.inet6.ip6.forwarding=0 36 # be sure to set net.inet6.ip6.accept_rtadv=1 37lpd_flags=NO # for normal use: "" (or "-l" for debugging) 38sensorsd_flags=NO # for normal use: "" 39hotplugd_flags=NO # for normal use: "" 40watchdogd_flags=NO # for normal use: "" 41ftpproxy_flags=NO # for normal use: "" 42hostapd_flags=NO # for normal use: "" 43ifstated_flags=NO # for normal use: "" 44relayd_flags=NO # for normal use: "" 45snmpd_flags=NO # for normal use: "" 46smtpd_flags=NO # for normal use: "" 47aucat_flags=NO # for normal use: "" 48ldapd_flags=NO # for normal use: "" 49 50# use -u to disable chroot, see httpd(8) 51httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8)) 52 53# For normal use: "-L sm-mta -bd -q30m", and note there is a cron job 54sendmail_flags="-L sm-mta -C/etc/mail/localhost.cf -bd -q30m" 55spamd_flags=NO # for normal use: "" and see spamd(8) 56spamd_black=NO # set to YES to run spamd without greylisting 57spamlogd_flags="" # use eg. "-i interface" and see spamlogd(8) 58 59# Set to NO if ftpd is running out of inetd 60ftpd_flags=NO # for non-inetd use: "-D" 61 62# Set to NO if identd is running out of inetd 63identd_flags=NO # for non-inetd use: "-b -elo" 64 65# On some architectures, you must also disable console getty in /etc/ttys 66xdm_flags=NO # for normal use: "" 67 68# For enabling console mouse support (i386 alpha amd64) 69wsmoused_flags=NO # for ps/2 or usb mice: "", serial: "-p /dev/cua00" 70 71# set the following to "YES" to turn them on 72rwhod=NO 73nfs_server=NO # see sysctl.conf for nfs client configuration 74lockd=NO 75amd=NO 76pf=YES # Packet filter / NAT 77ipsec=NO # IPsec 78bt=NO # Bluetooth 79portmap=NO # Note: inetd(8) rpc services need portmap too 80inetd=YES # almost always needed 81check_quotas=YES # NO may be desirable in some YP environments 82accounting=NO # process accounting (using /var/account/acct) 83 84krb5_master_kdc=NO # KerberosV master KDC. Run 'info heimdal' for help. 85krb5_slave_kdc=NO # KerberosV slave KDC. 86afs=NO # mount and run afs 87 88# Multicast routing configuration 89# Please look at netstart(8) for a detailed description if you change these 90multicast_host=NO # Route all multicast packets to a single interface 91multicast_router=NO # A multicast routing daemon will be run, e.g. mrouted 92 93# miscellaneous other flags 94# only used if the appropriate server is marked YES above 95savecore_flags= # "-z" to compress 96ypserv_flags= # E.g. -1 for YP v1, -d for DNS etc 97yppasswdd_flags=NO # "-d /etc/yp" if passwd files are in /etc/yp 98nfsd_flags="-tun 4" # Crank the 4 for a busy NFS fileserver 99amd_master=/etc/amd/master # AMD 'master' map 100syslogd_flags= # add more flags, ie. "-u -a /chroot/dev/log" 101pf_rules=/etc/pf.conf # Packet filter rules file 102ipsec_rules=/etc/ipsec.conf # IPsec rules file 103bt_rules=/etc/bt.conf # Bluetooth rules file 104pflogd_flags= # add more flags, ie. "-s 256" 105afsd_flags= # Flags passed to afsd 106shlib_dirs= # extra directories for ldconfig, separated 107 # by space 108 109local_rcconf="/etc/rc.conf.local" 110 111[ -f ${local_rcconf} ] && . ${local_rcconf} # Do not edit this line 112