Commit Graph

293 Commits

Author SHA1 Message Date
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
atatat a7627e5f06 Reorganize/clarify the configuration checks (and subsequent messages)
that might block startup, and be more permissive in general about
allowing the daemons to start.

Add some descriptive comments to the top of the smmsp script that
describe the purpose of the process.
2003-04-02 18:00:13 +00:00
atatat 9dc7b7c964 Tweak postinstall to check for (and help out on) the upgrade to
sendmail 8.12.8.  Some of the same machinery (in shorter form) is in
the additions to rc.d/sendmail.  Also, add a smmsp startup script for
the sendmail client queue runner.
2003-03-24 15:19:27 +00:00
wiz 4f30393de2 Allow ccd autoconfiguration to be turned off (by setting ccd=NO in
/etc/rc.conf; default is YES.)
Suggested by elric, ok'ed by lukem.
2003-03-19 08:54:00 +00:00
wiz 4c74ff3fdd Allow cgd configuration to be skipped (by setting cgd=NO, defaults to YES).
Closes my PR/20766.  Based on a suggestion by lukem.
2003-03-19 06:06:47 +00:00
martin 047a69a2e5 Make it start before "SERVERS" and remove redundant dependency on
"network". This brings it in line with the altqd script, which has
very similar requirements.
2003-03-14 09:18:50 +00:00
lukem f70738da04 move altqd slightly later in the boot sequence; as it's in /usr/sbin,
it needs to depend upon mountcritremote, not run before NETWORKING ...
2003-03-10 18:17:06 +00:00
jmmv db97c4116c Use the pidfile created by wsmoused. 2003-03-04 22:32:11 +00:00
atatat 3065ba7178 Execute the actual command as it's set instead of calling the sh
routine directly.  This allows one to to override a specific command
via the use of /etc/rc.conf.d/sysdb.
2003-02-24 01:04:45 +00:00
grant 117844eb75 change behaviour of 'reload' to only reload the NAT rules and NOT flush
the state table, making it much more useful.

The behaviour of 'restart' is unchanged (flush state table and reload
rules), but is now done slightly more elegantly.

ok'd by lukem.
2003-02-16 22:18:46 +00:00
lukem 2c589141ff Implement start_cmd as:
start_cmd="${name} "'${rc_arg}'
and stop_cmd & reload_cmd as:
	stop_cmd=$start_cmd
	reload_cmd=$start_cmd
(Just to be tricky)
2003-01-31 06:47:16 +00:00
martti 405c73366e Back out previous (as discussed with releng). The correct way to set this is:
# echo "myserver" > /var/yp/binding/`domainname`.ypservers
2003-01-16 11:55:28 +00:00
martti 1e0411d0d5 Script to bind a NIS client to a known server.
$ grep yp /etc/rc.conf
ypbind=YES
ypbind_flags="-ypset"
ypset=YES
ypset_flags="myserver"
2003-01-16 07:37:33 +00:00
yamt 567c0a7e50 in comment, metion about src/distrib/sets/lists/etc/mi as well. 2003-01-10 05:07:45 +00:00
christos 99f6c8054f add staticroute 2003-01-09 15:58:23 +00:00
christos e4cf375b81 Script to add and remove static routes:
eg:
    $ cat /etc/route.conf
    # Turn on/off IP forwarding.
    +sysctl -w net.inet.ip.forwarding=1
    -sysctl -w net.inet.ip.forwarding=0
    net 192.168.2.0 -netmask 255.255.255.0 192.168.150.2
2003-01-09 15:57:02 +00:00
christos 8d1054dc70 revert previous; luke and matt want this as a separate script. 2003-01-09 15:52:58 +00:00
christos 22aa10c0a0 Add /etc/route.conf processing to add static routes. Removes one more
reason for netstart.local.
2003-01-09 15:12:47 +00:00
jhawk 2c3ae584e1 Run ldconfig with ${rc_flags} so you can set ldconfig_flags in rc.conf
to specify additional a.out directories to merge into the runtime link
cache.
2003-01-08 04:17:19 +00:00
tron 2005231632 Revert last change for now. It causes hangs during system shutdown when
NFS filesystems are mounted.
2003-01-07 08:41:55 +00:00
tron 74efbb051c Add keyword "shutdown" so that this script is really executed on system
shutdown to delete clone interfaces.
2003-01-06 10:11:14 +00:00
wiz 247d6694f7 Handle links to absolute paths too. Closes my PR 19125. 2002-12-05 16:52:58 +00:00