Commit Graph

269 Commits

Author SHA1 Message Date
Ruslan Ermilov
78ad54210f -mdoc sweep. 2005-11-18 10:56:28 +00:00
Brooks Davis
cda39c0193 Add a new configuration variable, ipv4_addrs_<ifn>, which adds one or
more IPv4 address from a ranged list in CIRD notation:

ipv4_addrs_ed0="192.168.0.1/24 192.168.1.1-5/28"

In the process move alias processing into new ipv4_up/down functions to
more toward a less IPv4 centric world.

Submitted by:	Philipp Wuensche <cryx dash freebsd at h3q dot com>
2005-11-14 23:34:50 +00:00
Jens Schweikhardt
26cd969f5e Correct a grammo and capitalize a few abbreviations. 2005-11-12 21:45:20 +00:00
Yaroslav Tykhiy
c8a0dfab83 Add an rc.d script to start pfsync at the right moment of the
system boot, and hook it up in the system.

The separate script is needed because in the presence of various
interface lists in rc.conf ($network_interfaces, $cloned_interfaces,
$sppp_interfaces, $gif_interfaces, more to come) it is hard to start
them orderly, so that pfsync is brought up after its syncdev, which
is required for the proper startup of pfsync.

Discussed with:	mlaier on -pf
MFC after:	5 days
2005-10-02 18:59:02 +00:00
Yaroslav Tykhiy
d11122e73a Add firewall-related xrefs to SEE ALSO. 2005-10-02 08:39:41 +00:00
Yaroslav Tykhiy
f0fdbb10ea Minor clarifications and fixes to wording, grammar, and markup
around ${network_interfaces}.
2005-09-28 13:07:43 +00:00
Robert Watson
1a51e01115 Add a new rc.conf entry, kerberos5_server_flags, which allows the
administrator to specify additional start-up flags to the Kerberos
5 Authentication Server.

MFC after:	3 days
2005-09-20 11:13:28 +00:00
Ralf S. Engelschall
724447ac41 Fix system shutdown timeout handling by again supporting longer running
shutdown procedures (which have a duration of more than 120 seconds).

We have two user-space affecting shutdown timeouts: a "soft" one in
/etc/rc.shutdown and a "hard" one in init(8). The first one can be
configured via /etc/rc.conf variable "rcshutdown_timeout" and defaults
to 30 seconds. The second one was originally (in 1998) intended to be
configured via sysctl(8) variable "kern.shutdown_timeout" and defaults
to 120 seconds.

Unfortunately, the "kern.shutdown_timeout" was declared "unused" in 1999
(as it obviously is actually not used within the kernel itself) and
hence was intentionally but misleadingly removed in revision 1.107 from
init_main.c. Kernel sysctl(8) variables are certainly a wrong way to
control user-space processes in general, but in this particular case the
sysctl(8) variable should have remained as it supports init(8), which
isn't passed command line flags (which in turn could have been set via
/etc/rc.conf), etc.

As there is already a similar "kern.init_path" sysctl(8) variable which
directly affects init(8), resurrect the init(8) shutdown timeout under
sysctl(8) variable "kern.init_shutdown_timeout". But this time document
it as being intentionally unused within the kernel and used by init(8).
Also document it in the manpages init(8) and rc.conf(5).

Reviewed by: phk
MFC after: 2 weeks
2005-09-15 13:16:07 +00:00
Yaroslav Tykhiy
e5b3a11677 Reflect a recent change in /etc/rc.subr that made ``-M''
appear in tmpmfs and varmfs default flags explicitly.
Explain why -M is good for these file systems (it maximizes
performance and makes the system more stable at low memory
conditions by reducing the chance of thrashing.)

Bump .Dd accordingly.

MFC after:	3 days
2005-09-08 09:22:21 +00:00
Brooks Davis
41f7ee42ae - Remove the removable_interfaces variable. /etc/pccard_ether will
now run on any interface.
- Add a new ifconfig_<ifn> keyword, NOAUTO which prevents configuration
  of an interface at boot or via /etc/pccard_ether.  This allows
  /etc/rc.d/netif to be used to start and stop an interface on a purely
  manual basis.  The decision to affect pccard_ether may be revisited at
  a later date.

Requested by:	imp, gallatin (removable_interfaces)
Discussed with:	sam, Randy Bush (NOAUTO)
2005-08-24 01:23:49 +00:00
Brooks Davis
069dfe8315 Refer to the OpenBSD dhclient instead of the ISC dhclient.
Reported by:	Bob Johnson <bob89 at eng dot ufl dot edu>
PR:		84963
2005-08-18 19:39:27 +00:00
Pawel Jakub Dawidek
b12cfed25c Add scripts for GELI device configuration on boot.
rc.d/geli - configures encryption (ask for passphrases, etc.);
rc.d/geli2 - is called after file systems are mounted and mark devices for
             detach on last close.

Sponsored by:	Wheel Sp. z o.o.
		http://www.wheel.pl
MFC after:	3 days
2005-08-14 18:02:22 +00:00
Pawel Jakub Dawidek
49ad116fcc Teach rc.d/encswap script how to use geli(8) for swap encryption.
MFC after:	3 days
2005-08-05 23:38:51 +00:00
Pawel Jakub Dawidek
6e6ecc0e56 rc.conf(5) update - gbde_swap_enable variable has been removed.
Reminded by:	dougb
2005-08-05 07:09:53 +00:00
Brooks Davis
fe6f40dd76 - Document network_interfaces=auto (the default!).
- Remove documentation of pccard_ifconfig as it is now gone.
 - Document pccard_ifconfig's replacement ifconfig_DEFAULT.
2005-08-02 02:24:47 +00:00
Hiten Pandya
a1601503f5 Use 'manual page' instead of 'man page' for consistency.
Approved by:	re (hrs)
2005-06-30 13:18:15 +00:00
Ruslan Ermilov
03550c9c25 Add missing .Ed call that was fatal for the rest of manpage.
Bump document date.

Approved by:	re
2005-06-14 14:43:36 +00:00
Brooks Davis
7bc4ff02b7 Update to the new world of network configuration. The documenation is
slightly ahead of reality as rc support for WPA is only partialy in
place.

Submitted by:	Jeremie Le Hen <jeremie at le-hen dot org>
2005-06-08 00:15:36 +00:00
Brooks Davis
1e03bb0312 Remove default and documenation for pccard_ether_delay since I removed
it from /etc/pccard_ether.

Submitted by:	Jeremie Le Hen <jeremie at le-hen dot org>
2005-06-08 00:05:58 +00:00
Alexander Leidinger
540fac8974 - document powerd_flags too
- add a reference to powerd(8)

Approved by:	mentor (joerg)
2005-05-01 08:34:01 +00:00
Max Laier
1b301a7fa5 Typeo.
Submitted by:	Emil Mikulic
2005-04-25 10:14:26 +00:00
Gleb Smirnoff
4f802d7eeb Document bsnmpd related options.
Reminded by:	maxim
2005-04-18 07:39:53 +00:00
Nate Lawson
ffa6cde40d Add note about powerd(8)
Submitted by:	netchild
2005-03-31 06:02:44 +00:00
Tom Rhodes
bc8f83f849 Remove mention of mac_lomac(4) policy from here too. 2005-03-12 21:10:42 +00:00
Brooks Davis
b2d18dad81 Document the newsyslog_* and chkprintcap_* variables I added yesterday. 2005-03-02 18:44:56 +00:00
Nate Lawson
f4e8f997fe Note changes to throttling sysctls and new power_profile(8) cpufrq support. 2005-02-06 21:31:41 +00:00
Christian Brueffer
8d243d049b Backout last commit, lomac_enable is still valid. Just Xref mac_lomac.4
instead of lomac.4.
2005-02-05 13:44:29 +00:00
Christian Brueffer
3d76e5da8a Remove last traces of lomac(4)
MFC after:	3 days
2005-02-05 13:29:20 +00:00
Ruslan Ermilov
3ac17feb8a Fixed xref. 2005-01-21 10:48:35 +00:00
Ruslan Ermilov
c0854fb7b2 Scheduled mdoc(7) sweep. 2005-01-12 21:48:25 +00:00
Kirill Ponomarev
645453dbcc Remove trailing spaces.
Forgotten by:	me
2005-01-05 09:52:12 +00:00
Nate Lawson
af952b363b Inform users how to set throttling and cpu idling variables for the
power_profile rc script.
2004-12-16 22:21:21 +00:00
Philip Paeps
118fd13167 Reflect the cuaa->cuad namechange in documentation.
Might as well do them all while I'm at it :-)

Submitted by:	Steve Kargl <sgk@troutmask.apl.washington.edu>
2004-11-13 00:09:19 +00:00
Giorgos Keramidas
16c2bf8bfb Revert the noexec,nosuid,nodev options for md /tmp file systems, since
the change in the default behavior may break existing, working setups.

Requested by:	brooks
2004-11-09 21:33:19 +00:00
Giorgos Keramidas
7e3bed5b6d Bump document date for the {tmp,var}mfs_flags change. 2004-11-09 10:15:59 +00:00
Giorgos Keramidas
8cfaa2f1f1 Add two new rc.conf options: tmpmfs_flags and varmfs_flags.
These can be used to pass extra options to the mdmfs(8) utility,
to customize the finer details of the md file system creation
(i.e. to turn on/off softupdates, to specify a default owner for md
filesystem, etc).

Use these two new flags to mount tmpmfs and varmfs without
softupdates, since it doesn't make much sense to use SU on
malloc-backed file systems.

Reviewed by:	mtm
Inspired by:	J. D. Bronson, jbronson at wixb dot com
2004-11-09 10:03:17 +00:00
Ruslan Ermilov
371e19faf6 Sync up with vinum(8) and rc.d/vinum removal.
OK'ed by:	phk
2004-11-04 13:33:29 +00:00
Mike Makonnen
86bade2751 Do a better job of supporting more than one mouse device
on the system.

To start/stop/check on a specific device give the device name as
the second argument to the script:
	# /etc/rc.d/moused start ums0

To use different rc.conf(5) knobs with different mice use the device
name as part of the knob. For example, if the mouse device is ums0, then:
	moused_ums0_enable=yes
	moused_ums0_flags="-z 4"
	moused_ums0_port="/dev/ums0"

Starting rc.d/moused without the device argument will use the standard
moused_* flags. So, this commit should not disrupt or change current usage.

To preserve current behaviour with respect to usb mice, which appear
automatically when inserted, there is a new knob, moused_nondefault_enable,
which will treat any devices without rc.conf knobs as enabled.

To minimize knobs in /etc/rc.conf, the device file and pid file are
auto-computed, so that in the typical case for a usb mouse you don't
need to add anything extra in /etc/rc.conf to get it working.

Additionally, this updates /etc/usbd.conf to use the rc.d/moused script so
people don't have to modify it to configure their usb mouse anymore.

MFC after: 1 month
2004-11-01 18:05:41 +00:00
Pawel Jakub Dawidek
1f8197cf4d Allow to change interfaces name on boot time.
Now, one should be able to put something like this into /etc/rc.conf:

	ifconfig_fxp0_name="net0"
	ifconfig_net0="inet 10.0.0.1/16"

Reviewed by:	green
2004-10-30 13:44:06 +00:00
Andre Oppermann
7855ddfc16 Bump document date that was forgotten in the last commit.
Reminded by:	ru
2004-10-23 18:35:35 +00:00
Andre Oppermann
e3030ee41e IPDIVERT will automatically load ipdivert.ko if not compiled into the
kernel.
2004-10-22 23:07:52 +00:00
Giorgos Keramidas
8e8b31001c Bump the document date, s/filesystem/file system/ and add missing word.
Noticed by:	ru
2004-10-20 19:05:50 +00:00
Giorgos Keramidas
6e1b2264bd Introduce root_rw_mount as a new variable in defaults/rc.conf to
unbreak /etc/rc.d/root for diskless systems that get their root
filesystem from a read-only NFS mount.

PR:		conf/72927
Submitted by:	Ralf Wenk <RZ-FreeBSD1004@fh-karlsruhe.de>
Reviewed by:	brooks
2004-10-20 16:58:28 +00:00
Giorgos Keramidas
ae4d5e2921 The populate_var variable checks /var for writability, not /tmp.
Noticed by:	Alan Gerber <agerber@ncsu.edu>
2004-10-17 13:19:10 +00:00
Giorgos Keramidas
0f8351becc Fix an mdoc warning:
Using a macro as first argument cancels effect of .Li (#2984)

MFC after: 3 days
2004-10-08 13:50:18 +00:00
Max Laier
d32ae37c3b Remove obsolete references to PFIL_HOOKS and RANDOM_IP_ID
MFC after:	1 days
2004-10-07 20:49:52 +00:00
Doug Barton
e454060990 Update descriptions of named-related knobs. 2004-09-30 20:38:30 +00:00
Tom Rhodes
9ccab60d32 Document the latest changes to src/etc/defaults/rc.conf.
Bump document date.
2004-09-29 07:08:52 +00:00
Dag-Erling Smørgrav
d3797745d2 Document the AUTO setting for dumpdev.
MFC after:	4 weeks
2004-09-20 17:49:57 +00:00
Sean Chittenden
9fa4bd2311 Add a mention of the ntpd_sync_on_start tunable.
Requested by:	maxim
2004-09-15 01:39:25 +00:00