summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* As a quick fix disable the update of the linux ld.so.cache file, sincenetchild2006-01-241-1/+1
| | | | | | currently it grabs some FreeBSD native libs too. A final solution is under discussion with brooks.
* The 'reload' command did the same as 'restart' command.pjd2006-01-241-2/+0
| | | | | | Allow user to decide if SAD and SPD entries should be flushed on 'reload'. With this change flush/spdflush is not done automatically (it could still be done from ipsec.conf).
* Remove stale comment.pjd2006-01-241-2/+0
| | | | | | This change should be made in rev1.9. MFC after: 1 week
* Use $ipsec_file instead of hardcoded /etc/ipsec.conf.pjd2006-01-241-1/+1
| | | | | | This change should be made in rev1.2. MFC after: 1 week
* Add gettytab entry for 3wire 19200 baud consolematteo2006-01-221-0/+2
| | | | | | | PR: conf/90346 Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk> Approved by: philip (mentor) MFC after: 3 days
* o Add 406.status-gmirror, sort.maxim2006-01-211-1/+2
| | | | Submitted by: brueffer
* Add an rc.d script for stand-alone ftpd.yar2006-01-213-1/+28
| | | | | | | | Document the script's controls on the rc.conf(5) manpage and touch its Dd. PR: conf/90893 MFC after: 5 days
* Allow the use of wildcarded device names in devfs.confmatteo2006-01-211-10/+16
| | | | | | PR: conf/90760 Submitted by: Darren Pilgrim <darren.pilgrim@gmail.com> Approved by: philip (mentor)
* Tell nextboot to clean up after itself.wes2006-01-181-3/+1
|
* Add a warning pointing out that incomplete ports trees are notcperciva2006-01-181-0/+6
| | | | | | | | supported and that users of REFUSE directives should update their entire ports tree before asking for help on the mailing lists. Requested by: kris MFC after: 3 days
* Remove the module loading magic again; it's not needed after all.philip2006-01-171-8/+0
| | | | | | | Pointy hat to: matteo Submitted by: matteo Reviewed by: pjd MFC after: 3 days
* Load the g_md kernel module if needed.philip2006-01-161-1/+9
| | | | | | Pointed out by: Gianmarco Giovannelli Submitted by: matteo MFC after: 3 days
* REQUIRE named. On all systems I've examined running HEAD anddougb2006-01-161-1/+1
| | | | | | | | RELENG_6 this will be a noop, however as we introduce local startup scripts to the base rcorder, we'll see more cases where the previous status quo will need to be made explicit to avoid having it disrupted when random local scripts are added to the mix.
* Marius Nuennerich pointed out that nextboot(8) configured boot optionsceri2006-01-151-2/+2
| | | | | | | | | | were now sticky. This script was deleting /boot/nextkernel on boot, but there is no code in the tree that creates that file since revision 1.15 of src/sbin/reboot/reboot.c. nextboot(8) creates /boot/nextboot.conf, so remove that instead. Approved by: jhb (proxy mentor) MFC after: 1 week
* Add a daily script to show the status of gmirror(8) devices.wollman2006-01-132-0/+37
|
* Creating memory file systems with softupdates enabled is pointless,brooks2006-01-111-1/+1
| | | | | | | | don't do it. PR: conf/85558 Submitted by: Ralf Wenk <RZ dash FreeBSD0605 at hs dash karlsruhe dot de> MFC after: 5 days
* Be a little more read-only file system friendly when running the Linuxbrooks2006-01-111-1/+6
| | | | | | | | | | | ldconfig. Build the cache in a temporary directory and only install it if it's actually different that the installed one. Also, use "cat tmp > real" to install the temporary file in the real location to allow the real location to be a symlink to a writable directory such as /var/run (where the file actually belongs). MFC After: 5 days
* Disable default write access by not setting the write community string.harti2006-01-101-1/+14
| | | | PR: 91404, 91406
* Add a (disabled) configuration line to enable the HOST-RESOURCES MIB.harti2006-01-101-0/+6
|
* Add a mechanism to include files added by ports which containdougb2006-01-084-0/+30
| | | | | | | | | | | | the names of directories to include in the base ldconfig script. This will eliminate the need for each port to install its own boot script which does nothing but ldocnfig a given directory. This code was developed by flz (ports committer), discussed on freebsd-rc@, and modified slightly by me. Submitted by: flz Reviewed by: brooks
* 1. Add missing semicolon between "warn" and "return" to make surerse2005-12-301-3/+3
| | | | | | | | | 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). MFC after: 3 days
* Remove superfluous line continuation backslash.rse2005-12-301-1/+1
| | | | MFC after: 3 days
* Add a new extensible GSS-API layer which can support GSS-API plugins,dfr2005-12-296-0/+19
| | | | | | | | | similar the the Solaris implementation. Repackage the krb5 GSS mechanism as a plugin library for the new implementation. This also includes a comprehensive set of manpages for the GSS-API functions with text mostly taken from the RFC. Reviewed by: Love Hörnquist Åstrand <lha@it.su.se>, ru (build system), des (openssh parts)
* Fix another braino, don't remove the X related socket directoriesdougb2005-12-271-2/+5
| | | | | | right after creating them. Twiddle whitespace while I'm here.
* Make sure that the prestart routine is run with *start, instead ofdougb2005-12-271-1/+1
| | | | | | just 'start'. Reminded by: keramida
* syslogd should REQUIRE newsyslog, rather than newsyslog usingdougb2005-12-212-2/+1
| | | | | BEFORE: syslogd. This does not produce any change in the ordering at the moment, but is cleaner style for the long term.
* Several users have commented (via filing PRs) that having ntp* dependdougb2005-12-212-4/+1
| | | | | | | | | | on devfs is useful so that a hardware time device can start with its necessary device nodes already in place. While this ordering happens as a side effect currently in HEAD, and the PRs were generally fixed via upgrades, etc; it's better to make it explicit. While I'm here, ntpd should REQUIRE ntpdate, rather than ntpdate using BEFORE: ntpd.
* REQUIRE: syslogd and BEFORE: NETWORKING are now antithetical,dougb2005-12-211-1/+0
| | | | | | | | | | | and including both in this file had nasty side effects on the ordering of syslogd, as well as producing an error when running rcorder. Remove the more bogus of the two options, which restores proper ordering and removes the error. There is an open question as to whether scripts with the nostart KEYWORD should even have REQUIRE/BEFORE lines, and indeed, whether they should be in /etc/rc.d at all, but that's for another time.
* Include a somewhat hackish way to make sure that we *always* test thedougb2005-12-201-1/+6
| | | | new clear_tmp_X variable when start'ing.
* Brooks pointed out a potential problem with disabling the X cleaningdougb2005-12-202-10/+18
| | | | | | | | by default, so add a new knob that is on by default, and check that knob in start_precmd so that it can run even if cleaning /tmp is not enabled. This has the advantage of not violating POLA, while still allowing the user to disable this behavior if they wish (for example on a server that will never run X).
* Clear up problems with /etc/rc.d/{abi|cleanvar|cleartmp} broughtdougb2005-12-194-47/+71
| | | | | | | | | | | | | | | | | to light by the PR. Specifically, convert these three scripts into good rc.d citizens, making sure that their functionality is preserved, but the rc.d framework rules are not broken. Add support for cleanvar as a regular rc.d script in the default rc.conf, and document this in the man page. Add a descriptive comment to rc.conf that regarding the three emulation/compatibility services provided by abi so users will not be confused by these services not having their own startup scripts. PR: conf/84574 Submitted by: Alexander Botero-Lowry
* Remove usbd(8) and all references to it. It is no longer necessaryiedowse2005-12-156-33/+3
| | | | | | since devd(8) now provides the same functionality. Submitted by: Anish Mistry
* Add /boot/firmware as iwi(4) now reads its firmware there.delphij2005-12-111-0/+2
| | | | Reminded by: flz
* Move the remaining entries from usbd.conf to devd.conf. This nowiedowse2005-12-112-28/+29
| | | | | | | makes usbd redundant. PR: conf/73799 Submitted by: Anish Mistry
* Drop rcconf.sh now that it has been removeddougb2005-12-101-1/+1
|
* Remove rcconf.sh from /etc/rc.d, and instead load the configurationdougb2005-12-107-25/+17
| | | | | | | | | | | | | | | | as part of rc. Doing this, and the sourcing of rc.subr after we have determined if we are booting diskless (and correspondingly run rc.initdiskless if necessary) are safe, and actually allow fewer files to be needed on the diskless box. This also allows variables from the configuration to be available to rc itself, such as ... Add a variable to rc.conf, early_late_divider, which designates the script which separates the early and late stages of the boot process. Default this to mountcritlocal, and add text to etc/defaults/rc.conf, rc.conf(5) and diskless(8) which describes how and why one might want to change this. Reviewed by: brooks
* Silence a warning about empty directories in all the places it mightdougb2005-12-101-1/+1
| | | | | | occur. Reminded by: yar
* Use of REQUIRE is better than BEFORE for most scripts, and verydougb2005-12-101-1/+1
| | | | few scripts should have no REQUIRE at all.
* Files are installed with mode 444 by default.ru2005-12-091-1/+0
|
* Since rc.subr is a library of functions, it should not use exityar2005-12-061-6/+6
| | | | | | | | | | | | every now and then. It is up to the caller to choose a proper action upon an error condition. Therefore, use return, not exit, except for some special cases. Consistently return 1 to indicate an error. Submitted by: sem (initially) Reviewed by: freebsd-rc (silence) MFC after: 2 weeks
* Change how *.sh scripts are handled. If the script is in /etc/rc.d,dougb2005-12-051-2/+2
| | | | | | | | source it into the shell. If not, handle it in a subshell the same way that "real" rc.d-style scripts are handled. This will dramatically ease the "process local scripts in the base rcorder" transition. Add *.bak to the list of files in */rc.d that we ignore.
* Don't bogusly depend on dhclient. It's now run either bybrooks2005-12-031-1/+1
| | | | /etc/rc.d/netif or from devd rather than by the startup scripts.
* "-o rw" is invalid and undocumented mount option thatru2005-12-021-1/+1
| | | | | | | | | | | | | | | | | is only present for fstab(5) compatibility, and is otherwise ignored by mount(8) (not passed to mount_* programs, and not passed to nmount(2)). "-u -o rw" worked with an old mount(8) with mount_ufs.c because "-o rw" was stripped and simple "-u" caused an update of UFS from read-only to read-write, due to inability of mount(2) to track changes in options (MNT_RDONLY is either set or not). "-u" no longer causes the transition from RO to RW, now that mount(8) was converted to use nmount(2), so an explicit change to RW is required. Keep up with this change, and use "-uw" to mount root read-write.
* Brooks pointed out a case where tmp needs to be run afterdougb2005-12-021-2/+1
| | | | mountcritremote, so force it the other way instead.
* Introduce startup scripts from the local_startup directories todougb2005-12-024-34/+83
| | | | | | | | | | | | | | | | the base rcorder. This is accomplished by running rcorder twice, first to get all the disks mounted (through mountcritremote), then again to include the local_startup directories. This dramatically changes the behavior of rc.d/localpkg, as all "local" scripts that have the new rc.d semantics are now run in the base rcorder, so only scripts that have not been converted yet will run in rc.d/localpkg. Make a similar change in rc.shutdown, and add some functions in rc.subr to support these changes. Bump __FreeBSD_version to reflect this change.
* Force this script to run before mountcritremote to avoiddougb2005-12-021-0/+1
| | | | | non-deterministic behavior when introducing local_startup scripts to rcorder.
* Add a -f configfile option to devd(8), based on a patch submitted byjkoshy2005-11-241-0/+1
| | | | | | Wojciech A. Koszek. Submitted by: Wojciech A. Koszek <dunstan@freebsd.czest.pl>
* Update the test for failed zone transfers to reflect BIND 9.3.1 semanticsdougb2005-11-221-10/+8
| | | | | | | | | | Simplify the shell scripting a bit, and remove a useless grep | sed The problem was pointed out by the PR, and I used part of the solution suggested there, but the semantics changed again for 9.2.x -> 9.3.x. PR: conf/74228 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
* Remove not needed redirection of kldstat -q output to /dev/null.emax2005-11-222-2/+2
| | | | | Noticed by: pjd MFC after: 3 days
* Revise hcsecd(8) and sdpd(8) rc.d scripts one more timeemax2005-11-223-12/+28
| | | | | | | | | | - Use _prestart rc.d method to automatically kldload ng_btsocket(4) if needed; - Rename "sdpd_user" to "sdpd_username" and "sdpd_group" to "sdpd_groupname" to avoid collision with "magic" variables; Inspired by: yar MFC after: 3 days
OpenPOWER on IntegriCloud