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