freebsd-src/etc/sysconfig
Rodney W. Grimes d75038b6e7 Remove obsolete comments about my-name and my-network.
Have netstart directly source sysconfig so that it stands on its own.
Do not source netstart in rc, run it with sh.

Rework the dangerous /etc/hostname.* so that it uses a variable with
a list of interfaces and a variable for each interface in that list.
The files /etc/hostname.* become obsolete with this change, the
information is now stored in /etc/sysconfig.

Source any /etc/start_if.${ifn} files so they can export things to
netstart (plans for future enhancements in this area.)

Obsolete /etc/defaultrouter, this is now down with $defaultrouter from
sysconfig.
1995-04-11 01:22:24 +00:00

159 lines
4.6 KiB
Bash
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh
#
# This is sysconfig - a file full of useful variables that you can set
# to change the default startup behavior of your system.
#
# $Id: sysconfig,v 1.9 1995/04/04 17:34:40 ache Exp $
######################### Start Of Syscons Section #######################
# Choose keyboard map from /usr/share/syscons/keymaps/* or NO if default.
keymap=NO
# Set keyboard rate to: slow, normal, fast or NO if default.
keyrate=NO
# Change function keys default values (or no change if NO)
# Syntax: "<funkey_number> <new_value> [<funkey_number> <new_value>]..."
keychange=NO
# Desired cursor type {normal|blink|destructive}, NO if no change
cursor=NO
# Choose screen map from /usr/share/syscons/scrnmaps/* (or NO for none)
scrnmap=NO
# Choose font 8x16 from /usr/share/syscons/fonts/* (or NO for default)
font8x16=NO
# Choose font 8x14 from /usr/share/syscons/fonts/* (or NO for default)
font8x14=NO
# Choose font 8x8 from /usr/share/syscons/fonts/* (or NO for default)
font8x8=NO
# Set blank time (in seconds) or "off" to turn it off (or NO for default)
blanktime=NO
# Set to screen saver desired: blank, green, snake, star (or NO for none)
saver=NO
# General russian setup for example:
# (koi8-r keyboard with cp866 screen font mapped to koi8-r)
#
# keymap=ru.koi8-r
# keyrate=fast
# keychange="61 "
# cursor=destructive
# scrnmap=koi8-r2cp866
# font8x16=cp866b-8x16
# font8x14=cp866-8x14
# font8x8=cp866-8x8
# blanktime=600
# saver=snake
######################### End Of Syscons Section #######################
######################### Start Of Netconfig Section #######################
# Set to the name of your host - this is pretty important!
hostname=myname.my.domain
# Set to the list of network devices on this host. You must have an
# ifconfig_${network_interface} line for each interface listed here.
# for example:
#network_interfaces="ed0 sl0"
# Set one for each network device listed in network_interfaces above.
# for example:
#ifconfig_ed0="inet 10.0.0.1 netmask 0xffffff00"
#ifconfig_sl0="inet 10.0.1.0 netmask 0xffffff00"
# Set to the host you'd like set as your default router, or NO of none.
defaultrouter=NO
# These are the flags you'd like to start the routing daemon with
routedflags=-q
# timed flags, or NO if you don't want to start the time daemon
timedflags=NO
# xntpd flags, or NO if you don't want to start the xntpd daemon
xntpdflags="NO"
tickadj="-Aq" # this is inoperative unless xntpd is enabled; NO to disable
# Set to the site you'd like to syncronize your clock from (gatekeeper.dec.com,
# for example) or NO for no such site.
ntpdate="NO"
# Set to YES if you want to run rwhod
rwhod=NO
# Default sendmail flags. -bd is pretty mandatory, -q<n>m sets the queue scan
# time in minutes. If set to NO, don't start sendmail at all.
sendmail_flags="-bd -q30m"
# Set to appropriate flags if you want to use AMD
amdflags="NO"
# Set to YES if this machine will be an NFS client
nfs_client=NO
# Set to YES if this machine will be an NFS server
nfs_server=NO
# Set to appropriate flags if you want to start NIS for a client
nis_clientflags="NO"
# Set to appropriate flags if you want to start NIS for a server
nis_serverflags="NO"
# Set to appropriate flags for yppasswdd, if you wish to run it.
# Typical flags might be "-m /var/yp/master.passwd -s -f"
yppasswddflags="NO"
# Set to appropriate flags for named, if you have a full-time
# connection to the Internet.
# For most hosts, flags should be "-b /etc/namedb/named.boot"
namedflags="NO"
# Set to YES if you want to run the X-10 power controller daemon
xtend=NO
# Set to YES if you want kernel crashdumps to be saved for debugging
savecore=NO
# Set to YES if you want to run Kerberos authentication
kerberos_server=NO
# Set to YES if you want to run gated
gated=NO
# Set to YES if you wish to check quotas. NOTE: For now this probably
# doesn't work and should be left disabled.
check_quotas=NO
# Set to YES to turn on accounting. NOTE: For now this probably
# doesn't work and should be left disabled.
accounting=NO
# This stuff needed for proper daemons tuning, comsat f.e.
# See profile and csh.login also.
# Uncomment next line if you want to setup your 8-bit locale at program
# startup automatically
# ENABLE_STARTUP_LOCALE=; export ENABLE_STARTUP_LOCALE
# Uncomment next line to activate russian locale
# LANG=ru_SU.KOI8-R; export LANG
# Uncomment next line to activate italian locale
# LANG=it_IT.ISO8859-1; export LANG
# For full list of locales, check /usr/share/locale/*
######################### End Of Netconfig Section #######################
######################### Start Of Misc Section #######################
# Set to YES if you want ibcs2 (SCO) emulation loaded at startup
ibcs2=NO