Whitespace police.
Submitted by: cjc, ru
This commit is contained in:
parent
1cd535c856
commit
2f09c64602
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
|
||||
# This is rc.conf - a file full of useful variables that you can set
|
||||
# This is rc.conf - a file full of useful variables that you can set
|
||||
# to change the default startup behavior of your system. You should
|
||||
# not edit this file! Put any overrides into one of the ${rc_conf_files}
|
||||
# instead and you will be able to update these defaults later without
|
||||
@ -34,7 +34,7 @@ removable_interfaces="" # Removable network interfaces for /etc/pccard_ether.
|
||||
local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs.
|
||||
script_name_sep=" " # Change if your startup scripts' names contain spaces
|
||||
rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
|
||||
fsck_y_enable="NO" # Set to YES to do fsck -y if the initial preen fails.
|
||||
fsck_y_enable="NO" # Set to YES to do fsck -y if the initial preen fails.
|
||||
background_fsck="YES" # Attempt to run fsck in the background where possible.
|
||||
|
||||
##############################################################
|
||||
@ -50,16 +50,16 @@ firewall_enable="NO" # Set to YES to enable firewall functionality
|
||||
firewall_script="/etc/rc.firewall" # Which script to run to set up the firewall
|
||||
firewall_type="UNKNOWN" # Firewall type (see /etc/rc.firewall)
|
||||
firewall_quiet="NO" # Set to YES to suppress rule display
|
||||
firewall_logging="NO" # Set to YES to enable events logging
|
||||
firewall_logging="NO" # Set to YES to enable events logging
|
||||
firewall_flags="" # Flags passed to ipfw when type is a file
|
||||
ip_portrange_first="NO" # Set first dynamically allocated port
|
||||
ip_portrange_last="NO" # Set last dynamically allocated port
|
||||
ipsec_enable="NO" # Set to YES to run setkey on ipsec_file
|
||||
ipsec_file="/etc/ipsec.conf" # Name of config file for setkey
|
||||
natd_program="/sbin/natd" # path to natd, if you want a different one.
|
||||
natd_enable="NO" # Enable natd (if firewall_enable == YES).
|
||||
natd_interface="fxp0" # Public interface or IPaddress to use.
|
||||
natd_flags="" # Additional flags for natd.
|
||||
natd_enable="NO" # Enable natd (if firewall_enable == YES).
|
||||
natd_interface="fxp0" # Public interface or IPaddress to use.
|
||||
natd_flags="" # Additional flags for natd.
|
||||
ipfilter_enable="NO" # Set to YES to enable ipfilter functionality
|
||||
ipfilter_program="/sbin/ipf" # where the ipfilter program lives
|
||||
ipfilter_rules="/etc/ipf.rules" # rules definition file for ipfilter, see
|
||||
@ -72,7 +72,7 @@ ipnat_flags="" # additional flags for ipnat
|
||||
ipmon_enable="NO" # Set to YES for ipmon; needs ipfilter or ipnat
|
||||
ipmon_program="/sbin/ipmon" # where the ipfilter monitor program lives
|
||||
ipmon_flags="-Ds" # typically "-Ds" or "-D /var/log/ipflog"
|
||||
ipfs_enable="NO" # Set to YES to enable saving and restoring
|
||||
ipfs_enable="NO" # Set to YES to enable saving and restoring
|
||||
# of state tables at shutdown and boot
|
||||
ipfs_program="/sbin/ipfs" # where the ipfs program lives
|
||||
ipfs_flags="" # additional flags for ipfs
|
||||
@ -150,9 +150,9 @@ pppoed_enable="NO" # Run the PPP over Ethernet daemon.
|
||||
pppoed_provider="*" # Provider and ppp(8) config file entry.
|
||||
pppoed_flags="-P /var/run/pppoed.pid" # Flags to pppoed (if enabled).
|
||||
pppoed_interface="fxp0" # The interface that pppoed runs on.
|
||||
sshd_enable="NO" # Enable sshd
|
||||
sshd_enable="NO" # Enable sshd
|
||||
sshd_program="/usr/sbin/sshd" # path to sshd, if you want a different one.
|
||||
sshd_flags="" # Additional flags for sshd.
|
||||
sshd_flags="" # Additional flags for sshd.
|
||||
|
||||
### Network daemon (NFS) Need all portmap_enable="YES" ###
|
||||
amd_enable="NO" # Run amd service with $amd_flags (or NO).
|
||||
@ -162,7 +162,7 @@ nfs_client_enable="NO" # This host is an NFS client (or NO).
|
||||
nfs_access_cache="2" # Client cache timeout in seconds
|
||||
nfs_server_enable="NO" # This host is an NFS server (or NO).
|
||||
nfs_server_flags="-u -t -n 4" # Flags to nfsd (if enabled).
|
||||
single_mountd_enable="NO" # Run mountd only (or NO).
|
||||
single_mountd_enable="NO" # Run mountd only (or NO).
|
||||
mountd_flags="-r" # Flags to mountd (if NFS server enabled).
|
||||
weak_mountd_authentication="NO" # Allow non-root mount requests to be served.
|
||||
nfs_reserved_port_only="NO" # Provide NFS only on secure port (or NO).
|
||||
@ -210,7 +210,7 @@ mrouted_flags="" # Flags for multicast routing daemon.
|
||||
ipxgateway_enable="NO" # Set to YES to enable IPX routing.
|
||||
ipxrouted_enable="NO" # Set to YES to run the IPX routing daemon.
|
||||
ipxrouted_flags="" # Flags for IPX routing daemon.
|
||||
arpproxy_all="NO" # replaces obsolete kernel option ARP_PROXYALL.
|
||||
arpproxy_all="NO" # replaces obsolete kernel option ARP_PROXYALL.
|
||||
forward_sourceroute="NO" # do source routing (only if gateway_enable is set to "YES")
|
||||
accept_sourceroute="NO" # accept source routed packets to us
|
||||
|
||||
@ -311,9 +311,9 @@ blanktime="300" # blank time (in seconds) or "NO" to turn it off.
|
||||
saver="NO" # screen saver: Uses /modules/${saver}_saver.ko
|
||||
moused_enable="NO" # Run the mouse daemon.
|
||||
moused_type="auto" # See man page for rc.conf(5) for available settings.
|
||||
moused_port="/dev/psm0" # Set to your mouse port.
|
||||
moused_port="/dev/psm0" # Set to your mouse port.
|
||||
moused_flags="" # Any additional flags to moused.
|
||||
mousechar_start="NO" # if 0xd0-0xd3 default range is occuped in your
|
||||
mousechar_start="NO" # if 0xd0-0xd3 default range is occuped in your
|
||||
# language code table, specify alternative range
|
||||
# start like mousechar_start=3, see vidcontrol(1)
|
||||
allscreens_flags="" # Set this vidcontrol mode for all virtual screens
|
||||
@ -325,8 +325,8 @@ allscreens_kbdflags="" # Set this kbdcontrol mode for all virtual screens
|
||||
##############################################################
|
||||
|
||||
cron_enable="YES" # Run the periodic job daemon.
|
||||
cron_program="/usr/sbin/cron" # Which cron executable to run (if enabled).
|
||||
cron_flags="" # Which options to pass to the cron daemon.
|
||||
cron_program="/usr/sbin/cron" # Which cron executable to run (if enabled).
|
||||
cron_flags="" # Which options to pass to the cron daemon.
|
||||
lpd_enable="NO" # Run the line printer daemon.
|
||||
lpd_program="/usr/sbin/lpd" # path to lpd, if you want a different one.
|
||||
lpd_flags="" # Flags to lpd (if enabled).
|
||||
@ -338,8 +338,8 @@ sendmail_outbound_enable="YES" # Dequeue stuck mail (YES/NO).
|
||||
sendmail_outbound_flags="-q30m" # Flags to sendmail (outbound only)
|
||||
dumpdev="NO" # Device name to crashdump to (or NO).
|
||||
dumpdir="/var/crash" # Directory where crash dumps are to be stored
|
||||
savecore_flags="" # Used if dumpdev is enabled above, and present.
|
||||
enable_quotas="NO" # turn on quotas on startup (or NO).
|
||||
savecore_flags="" # Used if dumpdev is enabled above, and present.
|
||||
enable_quotas="NO" # turn on quotas on startup (or NO).
|
||||
check_quotas="YES" # Check quotas on startup (or NO).
|
||||
accounting_enable="NO" # Turn on process accounting (or NO).
|
||||
ibcs2_enable="NO" # Ibcs2 (SCO) emulation loaded at startup (or NO).
|
||||
@ -354,19 +354,19 @@ ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib"
|
||||
# shared library search paths
|
||||
ldconfig_paths_aout="/usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/lib/aout"
|
||||
# a.out shared library search paths
|
||||
kern_securelevel_enable="NO" # kernel security level (see init(8)),
|
||||
kern_securelevel_enable="NO" # kernel security level (see init(8)),
|
||||
kern_securelevel="-1" # range: -1..3 ; `-1' is the most insecure
|
||||
update_motd="YES" # update version info in /etc/motd (or NO)
|
||||
start_vinum="NO" # set to YES to start vinum
|
||||
start_vinum="NO" # set to YES to start vinum
|
||||
unaligned_print="YES" # print unaligned access warnings on the alpha (or NO).
|
||||
entropy_file="/entropy" # Set to NO to disable caching entropy through reboots.
|
||||
entropy_file="/entropy" # Set to NO to disable caching entropy through reboots.
|
||||
# /var/db/entropy is preferred if / is not available.
|
||||
entropy_dir="/var/db/entropy" # Set to NO to disable caching entropy via cron.
|
||||
entropy_save_sz="2048" # Size of the entropy cache files.
|
||||
entropy_save_num="8" # Number of entropy cache files to save.
|
||||
harvest_interrupt="YES" # Entropy device harvests interrupt randomness
|
||||
harvest_ethernet="YES" # Entropy device harvests ethernet randomness
|
||||
harvest_p_to_p="YES" # Entropy device harvests point-to-point randomness
|
||||
entropy_save_sz="2048" # Size of the entropy cache files.
|
||||
entropy_save_num="8" # Number of entropy cache files to save.
|
||||
harvest_interrupt="YES" # Entropy device harvests interrupt randomness
|
||||
harvest_ethernet="YES" # Entropy device harvests ethernet randomness
|
||||
harvest_p_to_p="YES" # Entropy device harvests point-to-point randomness
|
||||
|
||||
##############################################################
|
||||
### Define source_rc_confs, the mechanism used by /etc/rc.* ##
|
||||
@ -374,20 +374,20 @@ harvest_p_to_p="YES" # Entropy device harvests point-to-point randomness
|
||||
##############################################################
|
||||
|
||||
if [ -z "${source_rc_confs_defined}" ]; then
|
||||
source_rc_confs_defined=yes
|
||||
source_rc_confs () {
|
||||
local i sourced_files
|
||||
for i in ${rc_conf_files}; do
|
||||
case ${sourced_files} in
|
||||
*:$i:*)
|
||||
;;
|
||||
*)
|
||||
sourced_files="${sourced_files}:$i:"
|
||||
if [ -r $i ]; then
|
||||
. $i
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
source_rc_confs_defined=yes
|
||||
source_rc_confs () {
|
||||
local i sourced_files
|
||||
for i in ${rc_conf_files}; do
|
||||
case ${sourced_files} in
|
||||
*:$i:*)
|
||||
;;
|
||||
*)
|
||||
sourced_files="${sourced_files}:$i:"
|
||||
if [ -r $i ]; then
|
||||
. $i
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
}
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user