4351 Commits

Author SHA1 Message Date
marius
e1b43165f7 MFC: 1.12
Enable getty(8) on ttyu2 by default in order to get machines that use a
RSC (Remote System Control) connected via uart2 as console working out
of the box.

Approved by:	re (scottl)
2006-02-15 09:17:03 +00:00
flz
fd4449bc91 MFC:
Don't include geli devices in list when noauto is specified in the options field.

      src/etc/rc.subr: rev 1.47 -> 1.48

Approved by:	re (hrs)
2006-02-15 00:56:06 +00:00
flz
fadeb41ea3 MFC:
- Add a startup script for hostapd.
  - Document associated variable in rc.conf(5).

      src/etc/rc.d/Makefile: rev 1.64 -> 1.65
      src/share/man/man5/rc.conf.5: rev 1.283 -> 1.284
      src/etc/rc.d/hostapd: rev 0 -> 1.1
      src/etc/defaults/rc.conf: rev 1.273 -> 1.274

Approved by:	re (hrs)
2006-02-12 22:13:16 +00:00
cvs2svn
de143a5b92 This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-02-03 01:35:37 +00:00
pjd
3c50f6ff81 MFC: etc/rc.d/ipsec 1.14,1.15
- Use $ipsec_file instead of hardcoded /etc/ipsec.conf.
- Remove stale comment.
2006-01-31 00:28:01 +00:00
yar
b0976301af MFC the addition of an rc.d script for stand-alone ftpd:
etc/defaults/rc.conf		1.271
etc/rc.d/Makefile		1.63
etc/rc.d/ftpd			1.1 (new)
share/man/man5/rc.conf.5	1.281, 1.282

Also MFC the addition of a missing xref to geli.8 in
SEE ALSO on rc.conf.5 as a part of rev. 1.282.
2006-01-29 13:52:34 +00:00
maxim
6b09b89696 MFC rev. 1.103: InterBase Database Remote Protocol 3050/tcp/udp. 2006-01-29 11:32:48 +00:00
matteo
f5ae738fd4 Allow the use of wildcarded device names in devfs.conf
PR:             conf/90760
Submitted by:   Darren Pilgrim <darren.pilgrim at gmail.com>
Approved by:    philip (mentor,implicit)
2006-01-27 13:20:48 +00:00
cvs2svn
7fcb1e9c3c This commit was manufactured by cvs2svn to create branch 'RELENG_6'. 2006-01-26 12:19:11 +00:00
matteo
e4e4af2daa MFC:
Add gettytab entry for 3wire 19200 baud console

      src/etc/gettytab: rev 1.22 -> 1.23

PR:		conf/90346
Submitted by:	Gavin Atkinson <gavin.atkinson@ury.york.ac.uk>

Approved by:	philip (mentor, implicit)
2006-01-25 07:39:42 +00:00
brooks
b6af048c63 MFC rev 1.49: Don't create memory backed file systems with soft-updates
enabled, it's pointless and potentially dangerous.

PR:		conf/85558
Submitted by:	Ralf Wenk <RZ dash FreeBSD0605 at hs dash karlsruhe dot de>
2006-01-24 05:49:58 +00:00
yar
5d748e169d MFC rev. 1.8, 1.10:
Simplify the code by making use of 'kldstat -q -m <mod>'.

Use available rc.subr features.
Reduce code duplication.
Follow the current style of rc.d scripting.
2006-01-22 13:45:28 +00:00
yar
e306830495 MFC rev. 1.6, 1.7:
Simplify the code by making use of 'kldstat -q -m <mod>'.

Use rc.subr(8) appropriately.
2006-01-22 13:40:47 +00:00
yar
b7c8cc2f5a MFC rev. 1.5:
Set $command to indicate that the script wants to use
the default rc.subr(8) methods.  This is mandatory now.
2006-01-22 13:24:58 +00:00
yar
147a605f76 MFC:
Rename the rc.d script "ppp-user" to just "ppp".
2006-01-21 22:42:43 +00:00
yar
5547c58995 MFC r1.12 -- back out r1.7.2.2.
As rse@ agreed, "status" should stay in $extra_commands
if an rc.d script doesn't use $command and default methods
associated with it.  This is true since rc.subr r1.42.
With r1.42 merged to rc.subr on RELENG_6 (thanks Doug!),
it's right time to re-add "status" to $extra_commands in
this script.
2006-01-21 22:09:32 +00:00
wes
aa757a231f MFC r1.13: Tell nextboot to clean up after itself. 2006-01-21 17:25:00 +00:00
cperciva
e7fa724681 MFC rev. 1.3:
Add a warning pointing out that incomplete ports trees are not
  supported and that users of REFUSE directives should update their
  entire ports tree before asking for help on the mailing lists.
2006-01-21 09:59:07 +00:00
harti
7a415bda1d MFC revision 1.3 (disable default write community). 2006-01-20 16:41:11 +00:00
matteo
7ebcfcdd9a MFC: don't check for /dev/mdctl and let mdconfig load the module if needed
Approved by:	philip
2006-01-20 14:24:34 +00:00
dougb
321c75e900 MFC 1.8 - bring into conformance with rc.d standards
MFC 1.9 - Use hw.machine_arch instead of hw.machine
2006-01-17 07:12:38 +00:00
dougb
ae243ed8eb MFC rc.conf 1.269 and rc.conf.5 1.275 - clear_tmp_X variable,
to support the cleanup of etc/rc.d/cleartmp
2006-01-17 07:02:04 +00:00
dougb
73ebda7083 MFC mechanism to include files added by ports which contain
names of directories to include in the base ldconfig script.

Bump __FreeBSD_version to recognize this change
2006-01-17 06:53:18 +00:00
dougb
055e6f8b45 MFC newsyslog 1.5, syslogd 1.11 - Swap REQUIRE and BEFORE 2006-01-17 06:46:54 +00:00
dougb
4f990c30d3 MFC ntpd 1.12 and ntpdate 1.14 - use of REQUIRE rather than BEFORE,
MFC ntpd 1.12 - REQUIRE devfs to help users with serial GPS interfaces
MFC ntpdate 1.15 - REQUIRE named
2006-01-17 06:45:05 +00:00
dougb
096e4ab89b MFC changes to have these scripts follow proper rc.d syntax
PR:		conf/84574
Submitted by:	Alexander Botero-Lowry
2006-01-17 06:37:48 +00:00
rse
15e803bc3f MFC r1.13:
1. Add missing semicolon between "warn" and "return" to make sure
   the line continuation backslash doesn't cause "warn" to print "return".
2. Group "warn" and "return" together as the "return 1" should be
   performed only if the "kldload nfsclient" also failed (and not
   already if the "vfs.nfs" sysctl(8) check failed).
2006-01-08 09:21:53 +00:00
rse
e40bea7903 MFC r1.16:
Remove superfluous line continuation backslash.
2006-01-08 09:20:47 +00:00
dougb
03231bcc2b The new rc.subr requires explicit declaration of the command, and this
was fixed in the new ppp script, but I did not merge the ppp-user -> ppp
change, so this got missed. Mea culpa.

Submitted by:	Greg Rivers <gcr+freebsd-stable@tharned.org>
2005-12-22 09:06:07 +00:00
dougb
3b583b7967 MFC the inclusion of scripts from the local_startup directories
into the base rcorder, and related changes.
2005-12-21 07:11:35 +00:00
dougb
cb9c4e746a MFC 1.38, 1.4[1-3], and 1.46; excellent work done by yar to clean
up and improve this file.
2005-12-20 21:17:20 +00:00
dougb
48bf82a19f MFC 1.56, make install of sshd conditional on NO_OPENSSH 2005-12-20 20:56:21 +00:00
dougb
c8bed0fc29 Diff reduction to HEAD:
MFC yar's cleanup of command=*/foo -> command=*/${name},
and related changes.
2005-12-16 01:42:54 +00:00
dougb
ed5ba6cddd Diff reduction to HEAD.
MFC 1.253 - Mention special behaviour of init(8) when kern_securelevel="0"
MFC 1.265 - Add a devd_flags variable
2005-12-16 01:19:21 +00:00
pjd
1687da5e87 MFC: etc/rc.d/geli 1.3
Simplify the code a bit by using '-q' option for kldstat(8).

Prodded by:	dougb
2005-12-15 23:32:35 +00:00
pjd
407c7742ed MFC: Move setkey(8) from usr.sbin/ to sbin/ and make rc.d/ipsec to run
before rc.d/mountcritremote, so it is possible to mount /usr/ over
	IPsec.

Discussed on:	arch@
Suggested by:	Tomasz Pi³at <tomasz.pilat@axelspringer.pl>
Prodded by:	dougb
2005-12-15 23:30:12 +00:00
dougb
f19ad45cf8 MFC 1.11, update of flags to mount for switching to RW. 2005-12-15 18:59:21 +00:00
dougb
2948f5e92a Diff reduction to HEAD, MFC 1.7 which removes a needless FILEMODE line
Approved by:	ru
2005-12-15 18:57:11 +00:00
obrien
2dd23460fa MFC: rev 1.254: minor comment re-alignment. 2005-12-15 16:49:19 +00:00
obrien
19c90c2f22 MFC: rev 1.8: depends having awk(1) and it needs syslogd due to using logger(1). 2005-12-15 16:47:06 +00:00
obrien
570ef93d56 MFC: rev 1.7: depends on syslogd due to logger(1). 2005-12-15 16:46:02 +00:00
brooks
deb5b134eb MFC rev 1.258
remove removable_interfaces example.  It's been dead since 6.0-RELEASE,
but I forgot to MFC this.

Reminded by:	dougb
Pointy hat:	brooks
2005-12-15 02:13:15 +00:00
dougb
fb7dfdeea8 MFC 1.6, REQUIRE cleanvar, instead of BEFORE. 2005-12-15 01:13:39 +00:00
dougb
fed2b35069 MFC 1.37, run this script after mountcritremote to handle
cases where /tmp is on a remote filesystem.
2005-12-15 01:10:10 +00:00
brooks
24b555483a MFC the addition of the ipv4_addrs_<ifn> which allows the addition of
multiple aliases using ranges and CIDR notation.

Submitted by:	Philipp Wuensche <cryx dash freebsd at h3q dot com>
2005-12-10 02:20:14 +00:00
brooks
c6c0970414 MFC revs 1.46-1.48 (sync with HEAD):
1.46, 1.47: switch from pax to tar for cpio archive handling.
	1.48: umount in reverse order to allow nested mounts.
2005-12-10 02:14:35 +00:00
brooks
5fea548711 MFC 1.47 and 1.48:
1.47:	Be less IPv4 centric.  When checking if the interface is
	already configured, check if the UP flag is set instead of
	checking for the netmask keyword.

1.48:	Use more rc.subr bits to clean up pccard_ether and implement
	new features.  Both the presence of a NOAUTO keyword and an
	interface being up can be ignored is the forcestart option
	is used.  Additionally, a restart option has been added.
2005-12-10 02:11:07 +00:00
brooks
2b8616b2ea MFC rev 1.11: remove dhclient dependancy 2005-12-10 02:06:12 +00:00
dougb
31c54105ae MFC 1.7, which fixes the failed transfer semantics for BIND 9.3.x,
and cleans up the code slightly.
2005-11-27 00:38:57 +00:00
emax
a312cc4ea3 MFC: Start Bluetooth integration into rc.d system.
Introduce /etc/rc.d/bluetooth script to start/stop Bluetooth devices. It
will be called from devd(8) in response to device arrival/departure events.
It is also possible to call it by hand to start/stop particular device
without unplugging it.

Introduce generic way to set configuration parameters for Bluetooth devices.
By default /etc/rc.d/bluetooth script has hardwired defaults compatible
with old rc.bluetooth from /usr/share/netgraph/bluetooth/examples. These
can be overridden using /etc/defaults/bluetooth.device.conf file (system
wide defaults). Finally, there could be another device specific override
file located in /etc/bluetooth/$device.conf (where $device is ubt0, btccc0
etc.)

The list of configuration parameters and their meaning described in the
/etc/defaults/bluetooth.device.conf file. Even though Bluetooth device
configuration files are not shell scripts, they must follow basic sh(1) syntax.

Add rc.d scripts for the hcsecd(8) and sdpd(8) daemons. Put defaults into
/etc/defaults/rc.conf. Both daemons can run even if no Bluetooth devices
are attached to the system. Both daemons depend on Bluetooth socket layer.

Fix Bluetooth assigned numbers URL in /etc/bluetooth/protocols file.
2005-11-23 18:03:33 +00:00