Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/etc/defaults pull up rev 1.1 (approved by thorpej):
details: https://anonhg.NetBSD.org/src/rev/e1821801b0cc
branches: netbsd-1-5
changeset: 489633:e1821801b0cc
user: lukem <lukem%NetBSD.org@localhost>
date: Mon Oct 02 03:13:01 2000 +0000
description:
pull up rev 1.1 (approved by thorpej):
move default config files from /etc/default -> /etc/defaults, to be
consistent with what FreeBSD uses /etc/defaults for, and since SVR4
uses /etc/default for another purpose.
as discussed on tech-userlevel, and no objections were made.
diffstat:
etc/defaults/Makefile | 9 ++
etc/defaults/daily.conf | 21 +++++
etc/defaults/monthly.conf | 7 +
etc/defaults/rc.conf | 174 +++++++++++++++++++++++++++++++++++++++++++++
etc/defaults/security.conf | 24 ++++++
etc/defaults/weekly.conf | 9 ++
6 files changed, 244 insertions(+), 0 deletions(-)
diffs (268 lines):
diff -r 2c132610fe85 -r e1821801b0cc etc/defaults/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/defaults/Makefile Mon Oct 02 03:13:01 2000 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: Makefile,v 1.1.2.2 2000/10/02 03:13:01 lukem Exp $
+
+FILES= daily.conf monthly.conf rc.conf security.conf weekly.conf
+FILESDIR= /etc/defaults
+FILESMODE= ${NONBINMODE}
+
+NOPROG= noprog
+
+.include <bsd.prog.mk>
diff -r 2c132610fe85 -r e1821801b0cc etc/defaults/daily.conf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/defaults/daily.conf Mon Oct 02 03:13:01 2000 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: daily.conf,v 1.1.2.2 2000/10/02 03:13:01 lukem Exp $
+#
+# /etc/defaults/daily.conf --
+# default configuration of /etc/daily.conf
+#
+# see daily.conf(5) for more information.
+#
+
+find_core=YES
+expire_news=NO
+purge_accounting=YES
+run_msgs=YES
+run_calendar=YES
+check_uucp=YES
+check_disks=YES
+check_mailq=YES
+check_network=YES
+run_fsck=NO
+run_rdist=YES
+run_security=YES
+run_skeyaudit=YES
diff -r 2c132610fe85 -r e1821801b0cc etc/defaults/monthly.conf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/defaults/monthly.conf Mon Oct 02 03:13:01 2000 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: monthly.conf,v 1.1.2.2 2000/10/02 03:13:01 lukem Exp $
+#
+# /etc/defaults/monthly.conf --
+# default configuration of /etc/monthly.conf
+#
+# see monthly.conf(5) for more information.
+
diff -r 2c132610fe85 -r e1821801b0cc etc/defaults/rc.conf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/defaults/rc.conf Mon Oct 02 03:13:01 2000 +0000
@@ -0,0 +1,174 @@
+# $NetBSD: rc.conf,v 1.1.2.2 2000/10/02 03:13:04 lukem Exp $
+#
+# /etc/defaults/rc.conf --
+# default configuration of /etc/rc.conf
+#
+# see rc.conf(5) for more information.
+#
+
+#
+# Use program=YES to enable program, NO to disable it. program_flags are
+# passed to the program on the command line.
+#
+
+# Uncomment this if you want to use local paths in rc.
+#
+#export PATH=$PATH:/usr/pkg/sbin:/usr/pkg/bin:/usr/local/sbin:/usr/local/bin
+
+# If this is set to NO, shutdown(8) will not run /etc/rc.shutdown.
+#
+do_rcshutdown=YES
+
+# Basic network configuration
+#
+
+# Fully Qualified Internet Domain Name (a.k.a. hostname, e.g. foo.baz.edu).
+# If blank, use /etc/myname.
+#
+hostname=""
+
+# If there's only one way out of your network, set this to the hostname
+# or the IP address of the router that will get your packets off the LAN.
+# If blank, use /etc/mygate.
+#
+defaultroute=""
+
+# The NIS domain name (formerly known as Yellow Pages); not in any way
+# related to Internet domain names.
+# If blank, use /etc/defaultdomain.
+#
+domainname=""
+
+# Filesystems to mount early in boot-up.
+# Note that `/var' is needed in $critical_filesystems_beforenet (or
+# implied as part of `/') as certain services that need /var (such as
+# dhclient) may be needed to get the network operational enough to mount
+# the $critical_filesystems.
+#
+critical_filesystems_beforenet="/var"
+critical_filesystems="/usr"
+
+# Set this to YES if you have purposefully setup no swap partitions and
+# don't want to be warned about it.
+#
+no_swap=NO
+
+# One-time actions and programs on boot-up.
+#
+lkm=NO # run /etc/rc.lkm
+savecore=YES savecore_flags="-z"
+clear_tmp=YES # clear /tmp after reboot
+update_motd=YES # updates /etc/motd
+dmesg=YES dmesg_flags="" # write /var/run/dmesg.boot
+accounting=NO # needs /var/account/acct
+newsyslog=NO newsyslog_flags="" # trim log files
+
+# NOTE: default coredump name now set in /etc/sysctl.conf
+
+# Security setting. If $securelevel is non-empty, the system securelevel
+# is set to this value early in the boot sequence. Otherwise the default
+# action is taken (see init(8)).
+#
+securelevel="" # securelevel to set to
+
+# To set the IP address of an interface either use
+# ifconfig_xxN="IP-NO"
+# where xxN is the interface. If this variable is not set then
+# contents of the file /etc/ifconfig.xxN is used.
+
+# Networking startup.
+#
+ipfilter=NO # uses /etc/ipf.conf
+ipnat=NO # uses /etc/ipnat.conf
+ipsec=NO # uses /etc/ipsec.conf
+ipmon=NO ipmon_flags="-sn" # syslog ipfilter messages
+auto_ifconfig=YES # config all avail. interfaces
+net_interfaces="" # used only if above is NO
+flushroutes=YES # flush routes in netstart
+dhclient=NO # behave as a DHCP client
+dhclient_flags="" # blank: config all interfaces
+ntpdate=NO ntpdate_flags="-b -s" # May need '-u' thru firewall
+ppp_peers="" # /etc/ppp/peers to call
+ip6mode=host # host, autohost or router
+rtsol=NO rtsol_flags="" # for ip6mode=autohost only
+
+# Daemons required by servers. These are not needed for strictly client use.
+#
+
+# inetd is used to start the IP-based services enabled in /etc/inetd.conf
+#
+inetd=YES inetd_flags="-l" # -l logs libwrap
+
+# rpcbind (formerly known as 'portmap') is used to look up RPC-based services.
+#
+rpcbind=NO rpcbind_flags="-l" # -l logs libwrap
+
+# Commonly used daemons.
+#
+syslogd=YES syslogd_flags="-s" # -s "secure" unix domain only
+cron=YES
+named=NO named_flags=""
+timed=NO timed_flags=""
+ntpd=NO ntpd_flags=""
+sendmail=NO sendmail_flags="-bd -q30m"
+postfix=NO
+lpd=NO lpd_flags="-s" # -s "secure" unix domain only
+sshd=NO sshd_flags=""
+
+# Routing daemons.
+#
+routed=NO routed_flags="-q"
+gated=NO gated_flags=""
+mrouted=NO mrouted_flags=""
+route6d=NO route6d_flags=""
+rtsold=NO rtsold_flags="" # for ip6mode=autohost only
+
+# Daemons used to boot other hosts over a network.
+#
+rarpd=NO rarpd_flags="-a"
+bootparamd=NO bootparamd_flags=""
+dhcpd=NO dhcpd_flags="-q"
+dhcrelay=NO dhcrelay_flags=""
+rbootd=NO rbootd_flags=""
+mopd=NO mopd_flags="-a"
+rtadvd=NO rtadvd_flags=""
+
+# X11 daemons.
+#
+xfs=NO xfs_flags="" # X11 font server
+xdm=NO xdm_flags="" # X11 display manager; needs
+ # wscons=YES for local displays.
+
+# YP (NIS) daemons.
+#
+ypbind=NO ypbind_flags=""
+ypserv=NO ypserv_flags="-d"
+yppasswdd=NO yppasswdd_flags=""
+
+# NFS daemons and parameters.
+#
+nfs_client=NO # enable client daemons
+nfs_server=NO # enable server daemons
+ mountd_flags=""
+ nfsd_flags="-6tun 4"
+lockd=NO lockd_flags=""
+statd=NO statd_flags=""
+amd=NO amd_flags="-l syslog -x error,noinfo,nostats"
+ amd_dir=/amd # mount dir
+ amd_master=/etc/amd/master # master map
+
+# Heimdal Kerberos 5 KDC (with Kerberos IV compatibility)
+kdc=NO kdc_flags=""
+
+# Other daemons.
+#
+rwhod=NO
+
+# Hardware daemons.
+#
+apmd=NO apmd_flags="" # APM power management daemon.
+screenblank=NO screenblank_flags="" # wscons and FBIO screenblanker
+
+# Configuration of "wscons" console driver virtual screens.
+#
+wscons=NO wscons_flags="" # setup wscons from wscons.conf
diff -r 2c132610fe85 -r e1821801b0cc etc/defaults/security.conf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/defaults/security.conf Mon Oct 02 03:13:01 2000 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: security.conf,v 1.1.2.2 2000/10/02 03:13:04 lukem Exp $
+#
+# /etc/defaults/security.conf --
+# default configuration of /etc/security.conf
+#
+# see security.conf(5) for more information.
+
+check_passwd=YES
+check_group=YES
+check_rootdotfiles=YES
+check_ftpusers=YES
+check_aliases=YES
+check_rhosts=YES
+check_homes=YES
+check_varmail=YES
+check_nfs=YES
+check_devices=YES
+check_mtree=YES
+check_disklabels=YES
+check_changelist=YES
+
+run_skeyaudit=YES
+
+max_loginlen=8
diff -r 2c132610fe85 -r e1821801b0cc etc/defaults/weekly.conf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/etc/defaults/weekly.conf Mon Oct 02 03:13:01 2000 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: weekly.conf,v 1.1.2.2 2000/10/02 03:13:04 lukem Exp $
+#
+# /etc/defaults/weekly.conf --
+# default configuration of /etc/weekly.conf
+#
+# see weekly.conf(5) for more information.
+
+clean_uucp=YES
+rebuild_locatedb=YES
Home |
Main Index |
Thread Index |
Old Index