Commit Graph

138 Commits

Author SHA1 Message Date
hubertf
7bf20269f9 Add some boot time warnings:
- if ypserv=yes but portmap=no
 - if yppasswdd=yes but ypserv=no
 - if nfs_server=yes but portmap=no

Per discussion on tech-userlevel@netbsd.org.
1999-11-23 15:12:43 +00:00
lukem
acc78cad94 accounting should be controllable via $accounting=YES in rc.conf... 1999-11-23 08:05:04 +00:00
fvdl
0f6157b181 Remove update, it's no longer used. 1999-11-15 20:04:50 +00:00
frueauf
1299db6b8b Use checkyesno to check the state of $rc_configured like for any other
variable set in /etc/rc.conf. Pointed out by Erik Bertelsen
<erik@mediator.uni-c.dk> in pr 8522.
1999-10-30 12:35:30 +00:00
darrenr
918f986a0c move old dev_mkdb and "kvm_mkdb /netbsd" up into the section which builds
kvm_mkdb based on machdep.boot_kernel. also failover to "kvm_mkdb /netbsd".
1999-10-05 10:54:27 +00:00
darrenr
e463468294 send sysctl machdep errors to /dev/null
merge in patches to implement multiple bootup configurations (look for
/etc/etc.current, /etc/etc.default and friends)
only start up NFS services if either nfs_client or nfs_server is yes.
1999-10-05 10:32:56 +00:00
bouyer
eac2fbdb83 Add support for $defcorename 1999-09-28 14:53:17 +00:00
darrenr
50e510e367 If machdep.booted_kernel can be found in sysctl output, feed that name into
kvm_mkdb so that when we boot we always have an upto-date kvm db, allowing
dmesg and friends to run without error when we do "boot netbsd.fun" to test
kernels, etc.
1999-09-16 11:00:44 +00:00
itojun
02972f5985 add sanity check on rtadvd invocation (allowed on IPv6 routers only).
add rc.conf entry for rtsold.
1999-09-03 13:40:15 +00:00
christos
4de82f14e2 check if vi recovery files are regular files before trying to e-mail them.
Stops a denial of service attack where the user can put a named pipe or
any other device that blocks i/o in /var/tmp/vi.recover/recover.*
[from dynamo@ime.net]
1999-08-28 03:39:59 +00:00
christos
6bac342db0 Create temp _motd file in /etc 1999-08-05 20:51:57 +00:00
itojun
94e64335b4 add IPv6 configuration (ip6forwarding, rtsol, route6d and rtadvd).
Right now netsetart does not bother you even if you do not have
"options INET6" in the kernel.
1999-07-03 03:29:29 +00:00
augustss
aed7c5dbd9 usbd is dead. 1999-06-30 06:48:05 +00:00
tron
3cc8bf22d2 Configure wscons much earlier so that a virtual console can e.g. be
used for "syslogd" output.
1999-04-13 07:40:53 +00:00
cjs
668efbbcec Change mount_critical_filesystems() so that if given an argument
of "local" it will not mount filesystem types it identifies as
network file systems (currently just nfs). Call the function twice,
before networking starts with arg "local", after networking starts
with arg "network". Remove critfs_require_network as is now redundant.
1999-04-01 03:58:44 +00:00
drochner
4603b8460d start xdm after wscons configuration - the X server might want an own
virtual screen
1999-03-26 13:45:47 +00:00
sommerfe
5a90dbf495 Add dhcrelay startup (allow only if dhcpd isn't started) 1999-03-26 13:10:17 +00:00
oster
9fe0d93bdb Nuke the line 'raidctl -r raid$dev'. a) The '-r' option is now '-i', and
b) with component labels and clean-bits working, this shouldn't be
required at all on each boot!  Thanks to Andrew Gillham for pointing this out.
1999-03-26 01:11:45 +00:00
mellon
8572695519 - Move critical filesystem mounting code into a shell function and put
that in rc.subr.
- Support critfs_require_network rc.conf variable.
1999-03-24 18:59:47 +00:00
perry
835e4d99ed change to new syslog socket. make symlink from old to new location, too. 1999-03-19 00:35:44 +00:00
drochner
1cc109aa7d rc.wscons can take arguments, so we shouldn't simply source it but exec in
a subshell. Being here, add a prototype wscons_flags variable.
1999-03-17 15:49:47 +00:00
drochner
0fc97689ec introduce a "wscons" rc.conf flag and run /etc/rc.wscons from /etc/rc
if it is set
1999-03-14 14:04:40 +00:00
frueauf
6f443e73b3 No need to involve awk in the securelevel part, since sysctl has the -n switch.
Pointed out by NAKAJIMA Yoshihiro.
1999-02-07 14:56:01 +00:00
bad
cad34284f4 Use peers too when setting the time via ntpdate. 1999-02-07 00:47:08 +00:00
frueauf
1b01f4840e Add missing '' for awk in the securelevel part. 1999-02-06 23:22:31 +00:00
mrg
e4603ca8f7 oops, that's -n not -z. pointed out by hubert... 1999-02-01 00:34:25 +00:00
mrg
eddf0f4e2c increase the securelevel (using the same rules as before) much earlier in the
boot process.  before cron, sendmail, inetd, etc, are run, but after lkms are
loaded.  this avoids the chances of `@reboot', mail .forwards, remote logins,
etc., happening before the securelevel has been raised.
1999-01-31 08:46:58 +00:00
mrg
97a24ca055 support dmesg=NO and dmesg_flags, and do not cut the old boot messages..they might be useful. fix a typo (rbootd is not rarpd) 1999-01-12 12:42:46 +00:00
jwise
f6cc762de0 Enable cron to be turned on and off from rc.conf, like other daemons.
From Soren S. Jorvang <soren@t.dk>, closes his PR bin/5250.
1999-01-12 04:58:37 +00:00
jwise
4b0bbbdbe6 Add $portmap_flags variable, now that portmap has optional flags, and
by default, pass '-l' flag (libwrap logging) by analogy with inetd
1999-01-11 21:04:38 +00:00
abs
8ab9483f37 save a copy of the boot messages. Closes 6398 from msanders@confusion.net 1999-01-06 03:41:44 +00:00
tron
7d0d25360f Add support for RAIDframe configuration as suggested by Eric S. Hvozda
in PR install/6676.
1999-01-04 00:49:36 +00:00
hubertf
483a921963 allow /var/crash to be a symlink to a directory 1998-11-21 03:00:38 +00:00
augustss
deb00272b9 Add USB support. Supported so far:
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers
1998-07-12 19:51:55 +00:00
tron
2e5ce72aad Strip comments from "${amd_master}". 1998-06-21 16:38:38 +00:00
mrg
4c04041950 add "screenblank" support. 1998-04-07 04:47:33 +00:00
lukem
cb545a7ee4 send ntpdate output to syslog rather than stdout (with -s).
suggested by "Soren S.  Jorvang" <soren@t.dk>
1998-02-24 00:24:45 +00:00
lukem
63e548eb1d exclude 127.127 servers when automagically determining ntpdate hosts 1998-02-23 05:20:52 +00:00
lukem
8f59ce8e35 include rc.subr and use appropriately 1998-01-26 12:02:43 +00:00
veego
16cc8254d4 Move ipnat from /etc/netstart to /etc/rc after /usr is mounted. 1998-01-24 19:12:54 +00:00
perry
30e556f4e5 Fix pr 4587 (from Matthias Scheler) -- pause slightly after xfs starts. 1998-01-09 21:57:17 +00:00
mrg
d2cfb19c3d print a warning if no swap devices are configured and "no_swap" is not YES. 1997-11-23 04:17:57 +00:00
jonathan
6ba565c4d3 Add options to rc.conf and rc to start xfs (x font server) and xdm.
Add entries to rc.conf.5.
While we're here, note that the domestic kerberos damons are still
Kerberos IV, not kerberos version 5.
1997-11-11 02:28:58 +00:00
drochner
a06997e6bd Replace the (slightly broken) check to avoid double mounting of
filesystems by a correct one. (too bad that there was no agreement
about a mount option doing the same...)
Introduce a new rc.conf variable to mount user-defined filesystems
early in startup (eg for syslog, crashdumps, ...).
1997-10-10 09:37:54 +00:00
lukem
cb57cd9636 add $ipmon and $ipmon_flags, to control startup of ipmon(8) 1997-10-07 12:11:48 +00:00
drochner
a14fe6a191 fix an rc.conf flag check which was broken with the "checkyesno" changes 1997-09-12 10:36:04 +00:00
drochner
52157361c2 avoid to mount /usr twice if LKM load already did it 1997-09-12 09:53:08 +00:00
mikel
8cd518d0fd no more DEFAULT for $ntpdate_hosts; from Geoff Wing in PR bin/4073 1997-09-08 02:34:44 +00:00
veego
d1307e8424 Curt, what is in rc.func ?
I only see rc.subr so I renamed rc.func to rc.subr.
1997-08-29 09:33:34 +00:00
cjs
c3b0e18db8 Split rc.conf variables for starting programs into two: an on/off
switch and a set of flags. Get rid of DEFAULT flags entirely. Print
warnings if on/off switches are not set, or are set incorrectly.
Add a shell function to simplify this on/off switch testing.
1997-08-29 02:24:04 +00:00