rc.conf revision 1.130
1#!/bin/sh - 2# 3# $OpenBSD: rc.conf,v 1.130 2008/06/09 22:21:49 mbalmer 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: "" 44 45# use -u to disable chroot, see httpd(8) 46httpd_flags=NO # for normal use: "" (or "-DSSL" after reading ssl(8)) 47 48# For normal use: "-L sm-mta -bd -q30m", and note there is a cron job 49sendmail_flags="-L sm-mta -C/etc/mail/localhost.cf -bd -q30m" 50spamd_flags=NO # for normal use: "" and see spamd(8) 51spamd_black=NO # set to YES to run spamd without greylisting 52spamlogd_flags="" # use eg. "-i interface" and see spamlogd(8) 53 54# Set to NO if ftpd is running out of inetd 55ftpd_flags=NO # for non-inetd use: "-D" 56 57# Set to NO if identd is running out of inetd 58identd_flags=NO # for non-inetd use: "-b -elo" 59 60# On some architectures, you must also disable console getty in /etc/ttys 61xdm_flags=NO # for normal use: "" 62 63# For enabling console mouse support (i386 alpha amd64) 64wsmoused_flags=NO # for ps/2 or usb mice: "", serial: "-p /dev/cua00" 65 66# set the following to "YES" to turn them on 67rwhod=NO 68nfs_server=NO # see sysctl.conf for nfs client configuration 69lockd=NO 70amd=NO 71pf=NO # Packet filter / NAT 72ipsec=NO # IPsec 73portmap=NO # Note: inetd(8) rpc services need portmap too 74inetd=YES # almost always needed 75check_quotas=YES # NO may be desirable in some YP environments 76accounting=NO # process accounting (using /var/account/acct) 77 78krb5_master_kdc=NO # KerberosV master KDC. Run 'info heimdal' for help. 79krb5_slave_kdc=NO # KerberosV slave KDC. 80afs=NO # mount and run afs 81 82# Multicast routing configuration 83# Please look at netstart(8) for a detailed description if you change these 84multicast_host=NO # Route all multicast packets to a single interface 85multicast_router=NO # A multicast routing daemon will be run, e.g. mrouted 86 87# miscellaneous other flags 88# only used if the appropriate server is marked YES above 89savecore_flags= # "-z" to compress 90ypserv_flags= # E.g. -1 for YP v1, -d for DNS etc 91yppasswdd_flags=NO # "-d /etc/yp" if passwd files are in /etc/yp 92nfsd_flags="-tun 4" # Crank the 4 for a busy NFS fileserver 93amd_dir=/tmp_mnt # AMD's mount directory 94amd_master=/etc/amd/master # AMD 'master' map 95syslogd_flags= # add more flags, ie. "-u -a /chroot/dev/log" 96pf_rules=/etc/pf.conf # Packet filter rules file 97ipsec_rules=/etc/ipsec.conf # IPsec rules file 98pflogd_flags= # add more flags, ie. "-s 256" 99afsd_flags= # Flags passed to afsd 100shlib_dirs= # extra directories for ldconfig, separated 101 # by space 102 103local_rcconf="/etc/rc.conf.local" 104 105[ -f ${local_rcconf} ] && . ${local_rcconf} # Do not edit this line 106