Commit Graph

314 Commits

Author SHA1 Message Date
abs eb24f87047 add rcvar 2004-06-03 16:29:15 +00:00
abs d5fc55fa51 Add rcvar="quota" 2004-06-03 16:27:44 +00:00
christos 367e1200da create /dev/random when chrooted. 2004-05-21 15:40:22 +00:00
lukem b997a4053a Update the paths to the required_files configuration files for the
move from /usr/X11R6/lib/X11/<app> -> /etc/X11/<app>.
Resolves PR [misc/25613] from Jukka Salmi.
2004-05-17 23:41:27 +00:00
lukem ee04d88971 Consistently use CONFIGFILES & CONFIGLINKS (which enable the 'configinstall'
target) instead of using home-grown 'distribution' targets or using
FILES with the 'install' target.
Add some etc/ subdir Makefiles where appropriate.

XXX: some of etc/Makefile install-etc-files could be converted to CONFIGFILES.
2004-05-16 09:53:09 +00:00
schmonz c8dd377ead Add RCS Id. 2004-04-25 16:52:19 +00:00
keihan f672be074d s/netbsd.org/NetBSD.org/ 2004-04-23 10:59:47 +00:00
christos 1d0fe2e424 Whitespace fixes, some code re-factoring, and a bit more verbose messages. 2004-04-21 19:35:13 +00:00
dbj 48019a3a47 simply logic and flow of check_part function 2004-04-21 18:27:26 +00:00
dbj 1b003e4b0c abstract superblock field reading into shell function 2004-04-21 18:06:06 +00:00
dbj 115f147f20 add function for reporting verbose messages 2004-04-21 17:26:42 +00:00
dbj 496faa9025 tweak return value of check_part function 2004-04-21 17:07:47 +00:00
dbj 324ebbbef7 some minor shell programming tweaks recommended by christos
use [ -n ] instead of [ ! -z ]
use $() instead of ``
use just "$@" instead ${1+"$@"}
2004-04-21 17:02:41 +00:00
dbj bbf17112c5 use shell constructs and cat instead of sed since
sed may not be available early in the rc.d sequence
2004-04-21 16:12:31 +00:00
dbj 4fe7bbb7da enable rc.d fixsb script
initial testing suggests that it is working and I am confident it
will not cause irrevocable damage
2004-04-18 04:02:27 +00:00
dbj 1195d38f2f add support for turning off fixsb in rc.conf
default is fixsb=YES
2004-04-18 03:49:43 +00:00
dbj d328d71583 This rc.d script attempts to correct problems
which may have been introduced by booting a netbsd-current kernel
from between April of 2003 and January 2004. For more information
see <http://mail-index.NetBSD.org/current-users/2004/01/11/0022.html>
This script was developed as a response to NetBSD pr install/25138

This should not be added to the Makefile or the default install until
it has been further tested
2004-04-16 14:52:52 +00:00
lukem 68909c287b Store the full path to the /usr/sbin/postfix in $postfix_command
and use the latter postfix_op() to implement start/stop/reload.
(We generally use full paths in rc.d scripts.)  Problem noted by Bill Squier.
2004-04-08 06:15:27 +00:00
mrg f79db8d04e move ipmon's "-D" argument from "command_args" to "ipmon_flags" so that
passing an (optional) filename argument (that must come last) works fine
from $ipmon_flags.  from PR#25006.
2004-04-04 13:59:36 +00:00
fredb f6e9f3cb15 Backout last change. I failed to note that the problem described in
PR bin/24653 had already been fixed with revision 1.9 of this file.
2004-03-31 18:01:07 +00:00
fredb ee6be08283 Take account of the fact that "ntpd" writes it's pidfile after chroot().
Closes PR bin/24653.
2004-03-31 17:52:06 +00:00
jonb c384cda06a Add ssh_keygen_flags variable to rc.conf to allow users to set the
size of auto-generated keys if desired.
2004-02-18 17:36:34 +00:00
christos 0120b80220 add identd 2004-02-01 02:32:58 +00:00
christos 1359f873c4 new identd script 2004-01-31 21:50:45 +00:00
uebayasi 0b297c927b Missing rcvar. From Nicolas Joly in PR 24106. 2004-01-15 11:20:19 +00:00
jmmv ec3213dda0 Add the veriexec rc.d script. 2004-01-14 10:51:54 +00:00
blymn 67b5617823 Add startup script for verified exec. 2004-01-14 06:53:50 +00:00
uebayasi 79ca61d5d8 Define an rcvar "virecover" so that this can be configurable. The default
is YES.
2004-01-11 14:21:43 +00:00
uebayasi 6892f132b9 Set an rcvar so that this can really be configurable by the rcvar. (This
means that it has long been not be able to do so!)
2004-01-11 13:57:56 +00:00
martin 91d3025816 Add rtclocaltime. 2003-12-27 00:29:21 +00:00
martin 448491ee86 Add a new /etc/rc.conf option: rtclocaltime=YES adapts the RTC offset
at boot automatically, so a machine dual booting another OS that uses
the RTC at localtime and NetBSD agree on the current time even if daylight
saving started/ended (without recompiling a kernel twice per year).
Awk code by Matt Thomas.
2003-12-27 00:23:22 +00:00
lukem 1b373d7a5e Revert part of previous; etc/rc.d/kdc must be installed even if Kerberos
isn't enabled.
This is how the rc.d system works in conjunction with our current build
and install system; all the rc.d scripts are installed even if the
subsystems they control are not.
2003-12-26 12:04:35 +00:00
christos 501d4710c0 prepare for bind 9. 2003-12-18 18:30:18 +00:00
dyoung 4758291178 Fix the checkflist for builds without Kerberos 4 (MKKERBEROS4=no)
and without Kerberos 4 & 5 (MKKERBEROS=no). Previously checkflist
complained of missing files.

* move kerberos- and kerberos 4-only files into new flists,
  distrib/sets/lists/*/krb.*

* make the flist generators grok MKKERBEROS{,4} variables

* fix Makefiles which treat MKKERBEROS=no as MKKERBEROS5=no.
  9 out of 10 experts agree that it is ludicrous to build w/
  KERBEROS4 and w/o KERBEROS5.

* fix header files, also, which treat MKKERBEROS=no as MKKERBEROS5=no.

* omit some Kerberos-only subdirectories from the build as
  MKKERBEROS{,4} indicate

(I acknowledge the sentiment that flists are the wrong way to go,
and that the makefiles should produce the metalog directly.  That
sounds to me like the right way to go, but I am not prepared to do
revamp all the makefiles.  While my approach is expedient, it fits
painlessly within the current build architecture until we are
delivered from flist purgatory, and it does not postpone our
delivery. Fair enough?)
2003-12-11 09:46:26 +00:00
drochner 505ed045c0 ntpdate to a multicastclient address doesn't work 2003-12-04 18:28:54 +00:00
fredb 8098923219 Make the ntp.conf parsing more specific, and therefore more robust. Closes
PR bin/23305.
2003-10-29 19:00:14 +00:00
fredb 836389dfbc Supply the usual default setting of $commmand. Omission pointed out by
Launey Thomas in private mail.
2003-10-20 16:09:15 +00:00
christos b5aee30a01 set fsck_flags=-p in /etc/defaults/rc.conf instead of checking if it is
empty in /etc/rc.d/fsck. From Bernd Ernesti.
2003-10-20 15:02:15 +00:00
fredb 663be81e89 Allow for a syntax extension for "ntp.conf" with ntp 4.2.0. 2003-10-19 13:31:28 +00:00
fredb b703c0fa68 Use "$command", instead of hard-coded "ntpdate", so that the user can
override the path using the usual mechanisms.
2003-10-19 13:23:57 +00:00
christos e2ba1d7082 Allow overrides via fsck_flags 2003-10-15 17:38:04 +00:00
jdc d8eef4e074 Allow an IPv6 default route to be set from /etc/mygate6 or $defaultroute6.
Approved by itojun@.
2003-10-12 09:50:05 +00:00
wiz ea949da1c7 Add a knob to turn off automatic configuration (via rc.d) of
non-auto-configured (via kernel) raid devices. oster says ok.
2003-09-10 14:50:19 +00:00
mrg 777a312e0f ipnat needs to be before SERVERS - one may need NAT for servers to work
(eg, ntpdate).
2003-08-22 08:43:26 +00:00
tron f48b602669 Don't use depricated "-f" option to mixerctl(1). Patch supplied by
Bruce J.A. Nourish in PR misc/22524.
2003-08-18 13:04:10 +00:00
lukem b0f080676b Support "multicastclient" directives in ntp.conf.
Based on [bin/17930] from Stoned Elipot.
2003-06-27 07:22:36 +00:00
martin 78e800a41c Ifwatchd now uses syslog, so require syslogd. 2003-06-24 09:32:46 +00:00
ragge 91b1808f8e Remove kvm_mkdb, it's not used anymore. 2003-05-11 18:17:30 +00:00
thorpej f0150db8f2 Add an rc script for powerd(8). 2003-04-18 05:19:35 +00:00
is f334171ccc Variable substitution happens at trap installation time, not at trap
execution time - so it used to print "Using default configuration of
/etc/passwd".
2003-04-03 11:25:10 +00:00