summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Switch from BIND 8 to BIND 9.des2004-09-213-6/+16
| | | | | | Submitted by: (in part) dougb@, trhodes@ Reviewed by: dougb@, trhodes@, re@ MFC after: 5 days
* If $dumpdev is set to AUTO, use the first suitable swap partition listeddes2004-09-201-0/+10
| | | | | | in /etc/fstab, or print an error message if no suitable device was found. MFC after: 4 weeks
* Teach swap1 script how to remove added swap devices on system shutdown.pjd2004-09-171-21/+1
| | | | | | Without this change, if one had a swap-on-mirror configuration, gmirror will rebuild mirror component(s) on boot, because they are dirty (they were open on shutdown).
* Change tabs to whitespaces.glebius2004-09-161-2/+2
| | | | | Noticed by: ru Pointy hat to: glebius
* Install netflow includes.glebius2004-09-161-0/+2
| | | | Approved by: julian (mentor)
* We don't have any providers of `beforenetlkm' in FreeBSD. Remove thekeramida2004-09-163-3/+3
| | | | | | dependency to it from our rc.d scripts. Approved by: mtm
* Fix requirement of `network' to `NETWORK' because the former isn'tkeramida2004-09-161-1/+1
| | | | | | provided by any rc.d script. Approved by: mtm
* Bring back etc/rc.d/ntpdate as requested by scads of people. This isn't aseanc2004-09-154-3/+40
| | | | | | | | | | | | | | complete backout as the ntpd_sync_on_start etc/rc.conf tunable is still present, though the default is now NO (was YES). Since we're no longer syncing time at startup by default when ntpd is enabled (as was the case 24hrs ago), remove UPDATING entry pointing out that ntpd(1) -g is slower than ntpdate(1). Hopefully ntpd_sync_on_start="YES" can be made the default for -CURRENT after 5.3 is cut. At the very least, this should be set to YES when a user requests to have ntpd enabled via sysinstall(1). Requested by: many
* Stop using ntpdate(1) in our startup procedure. Replace ntpdate(1) withseanc2004-09-141-33/+0
| | | | | | | | | | | | | | calls to ntpd -g. ntpd is noticeably slower than ntpdate, but is also more accurate. This removes the nasty hackery in rc.d/ntpdate that would parse out ntp servers from /etc/ntp.conf (ntpd knows how to read its own config file). By default, ntpd *will* sync with its listed time servers. To turn this off so that ntpd does not sync, ntpd_sync_on_start="NO" can be added to /etc/rc.conf. If ntpd is not enabled (the default), then time is not synced on startup. ntpdate has been depreciated by the ntpd authors for quite some time so this change shouldn't be unexpected. Suggested by: des Approved by: roberto (resident ntp guru)
* Stop using ntpdate(1) in our startup proceedure. Replace ntpdate(1) withseanc2004-09-144-5/+8
| | | | | | | | | | | | | | calls to ntpd -g. ntpd is noticably slower than ntpdate, but is also more accurate. This removes the nasty hackery in rc.d/ntpdate that would parse out ntp servers from /etc/ntp.conf (ntpd knows how to read its own config file). By default, ntpd *will* sync with its listed time servers. To turn this off so that ntpd does not sync, ntpd_sync_on_start="NO" can be added to /etc/rc.conf. If ntpd is not enabled (the default), then time is not synced on startup. ntpdate's use has been depreciated by the ntpd authors for quite some time so this change shouldn't be unexpected. Suggested by: des Approved by: roberto (resident ntp guru)
* Bring in some examples (and create space for future work here):mlaier2004-09-142-1/+3
| | | | | | | | | | | | - Add OpenBSD example rulesets as advertised in etc/pf.conf and pf.conf(5) - Tweak the pointer to fit the FreeBSD default location share/examples/pf - Account for the new directory in BSD.usr.dist (no hier(7) change required as share/examples is an opaque item there). Obtained from: OpenBSD Reminded by: Thomas T. Veldhouse PR: docs/71691 MFC after: 2 days
* Update the passive OS fingerprint database from OpenBSD.mlaier2004-09-141-52/+145
| | | | Obtained from: lcamtuf.coredump.cx (via OpenBSD)
* A power failure left the temporary /var/.diskless directoryru2004-09-132-2/+2
| | | | | on my system, and since then my /var was always created as MFS which was very surprising. Fix this for /tmp and /var.
* Add device driver support for the VIA Networking Technologieswpaul2004-09-101-1/+2
| | | | | | | | | | | | VT6122 gigabit ethernet chip and integrated 10/100/1000 copper PHY. The vge driver has been added to GENERIC for i386, pc98 and amd64, but not to sparc or ia64 since I don't have the ability to test it there. The vge(4) driver supports VLANs, checksum offload and jumbo frames. Also added the lge(4) and nge(4) drivers to GENERIC for i386 and pc98 since I was in the neighborhood. There's no reason to leave them out anymore.
* Restore NetBSD SCM ID.obrien2004-09-091-1/+1
| | | | Submitted by: delphij@beastie.frontfree.net
* Add axe(4) to ethernet-nic-regex.glebius2004-09-061-3/+3
| | | | | | | PR: conf/71410 Submitted by: Andrew Thompson <thompsa AT thingy.tbd.co.nz> Approved by: julian (mentor) MFC after: 3 days
* Hook autofs to the build.alfred2004-09-021-0/+2
|
* When an USB keyboard is plugged in to a machine with a builtin keyboard,brooks2004-09-011-0/+10
| | | | | | | cause the USB keyboard to take over from the builtin one. This means my laptop just works when I'm using it as a desktop. Reviewed by: imp
* Don't rely on properly setup linker.hints to figure out that pflog is nowmlaier2004-08-311-2/+2
| | | | | | | | | part of the pf module. While here fix a comment that was c'n'ped from rc.d/pf PR: bin/71096 (partly) Submitted by: Ville-Pertti Keinonen MFC after: 2 days
* Protect the command flags set in the rc.conf files in case they'rekensmith2004-08-291-1/+1
| | | | | | | | more than one word, adding some quotes. Advice from: mtm (my first attempt wasn't quite right) Reviewed by: mtm MFC after: 3 days
* Add Basque (Spain) locales: eu_ES.ISO8859-1, eu_ES.ISO8859-15, eu_ES.UTF-8.tjr2004-08-281-0/+6
| | | | | | | | (This differs somewhat from the version originally submitted - any mistakes are my own.) PR: 68524 Submitted by: J. Vicente Carrasco -Bixen-
* Avoid double appearing of cloned interfaces in the outputyar2004-08-281-3/+4
| | | | | | | | | | | | | | | from list_net_interfaces() when network_interfaces=auto. Rationale: Since the auto case is special, the lesser evil had to be chosen among not adding cloned interfaces to _tmplist or removing duplicates from _tmplist after adding cloned interfaces. Since list_net_interfaces() must not use /usr/bin tools, the former "evil" appeared clearer and much more efficient. (See the PR audit trail for discussion.) PR: conf/63700 Reviewed by: brooks MFC after: 5 days
* Fix a typo in a variable name.yar2004-08-271-1/+1
|
* share/examples/worm is dead.ru2004-08-241-2/+0
|
* Always quote variables in tests, to ensure correct evaluation even whendes2004-08-191-7/+7
| | | | | | they are empty or undefined. MFC after: 3 days
* Skip entries for GBDE swap devices if they are commented out in /etc/fstab.thomas2004-08-182-12/+20
| | | | Reviewed by: des
* Create temporary files safely.nectar2004-08-161-1/+4
| | | | Submitted by: Jon Passki <cykyc@yahoo.com>
* Add 3653/tcp and 3653/udp, since they were specifically requested.cperciva2004-08-161-0/+2
| | | | | | PR: conf/63907 Submitted by: Marc Blanchet MFC after: 3 days
* Add Hungarian calendar entries.dwmalone2004-08-161-0/+2
| | | | | PR: 42725 Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu>
* Connect RAID3 GEOM class to the build.pjd2004-08-161-0/+2
|
* Fix the startup logic for sendmail. If sendmail_enable=yes, don't startgshapiro2004-08-051-10/+11
| | | | | | | | | | | | | | | the submit and outbound daemon, else if sendmail_submit_enable=yes, don't start the outbound daemon. Only one daemon should be started. Also, do not rebuild database maps at boot time. The code didn't pay attention to SENDMAIL_MAP_TYPE and assumed 'hash'. Also, admins may not want maps automatically rebuilt just because the back end database has changed. Finally, some maps are built with mode tools than just makemap (e.g., using cidrexpand on the access text file before sending it to makemap). Noticed by: ache Reviewed by: ache
* Give sshd a secure startup, but with a tweakable timeout so thatmarkm2004-08-041-0/+25
| | | | the box won't hang forever at startup.
* Use RFC 3849 address for examples.ume2004-08-032-8/+8
| | | | | Pointed out by: mistral@imasy.or.jp MFC after: 1 week
* allow ::1 explicitly.ume2004-08-031-1/+1
| | | | | Pointed out by: mistral@imasy.or.jp MFC after: 1 week
* UUCP's uucico(8) has not been in the base system for some time now,markm2004-08-011-1/+1
| | | | | | so reflect this in the default. The uucp uid is a bit funny, and is used by mtree in /var/spool for locks, so we can't remove it without thinking about it a bit harder.
* Connect GEOM_MIRROR class to the build.pjd2004-07-301-0/+2
|
* Finish cleanup of rc.d/netif. It's now possible to start/stop moremtm2004-07-302-17/+32
| | | | | | | | | | | than one interface from the command line: # /etc/rc.d/netif start bfe0 xl0 It's also possible to restart an interface(s): # /etc/rc.d/netif restart bfe0 This required some changes to rc.subr(8) so that if the start/stop commands are overidden the rest of the command line (after the start/stop/etc... cmd) is passed through to the subroutines.
* Bmake glue for GCC 3.4.2-prerelease.kan2004-07-281-1/+3
|
* back out the localkg changes until things have settled.eik2004-07-281-134/+21
| | | | Discussed with: mtm
* Even though binaries will give 0 matches, make it explicit.mtm2004-07-271-1/+1
|
* Fixed style of previous commit.ru2004-07-271-1/+1
|
* Fix typo in description of pflog_logfile.mlaier2004-07-271-1/+1
| | | | Submitted by: Mike Jakubik
* Correct typo.mtm2004-07-241-1/+1
| | | | Submitted by: eik (and probably many others)
* Ports related rc.d cleanups:mtm2004-07-241-21/+134
| | | | | | | | | | | | | | | | | | | | | | | | o Separate out local (ports) scripts that use rc.d, and the old style startup/shutdown scripts and execute them separately. On startup the rc.d style scripts are executed first and then the old-style scripts. On shutdown, exactly the reverse happens. o The rc.d ports scripts should now behave more like base system scripts. Scripts ending in .sh will be sourced into the current shell, while the rest will be executed in a subshell. Previously, all ports scripts, regardless of the .sh suffix, were executed in a subshell. o The parent script, /etc/rc.d/localpkg, passes its command line arguments straight to the rc.d ports scripts. This means they should now honor faststop and faststart commands as well. Old style scripts, should not see any differences. They will still get either a start or stop command. o The initial phrase shown during shutdown has been changed to use "local packages" instead of "daemon processes" to be more inline with the phrase used during local package startup. The phrases are also used only for old-style ports script startup/shutdown, whereas previously they were being used for both rc.d and old-style scripts. This should make startup/shutdown output a bit less ugly. Discussed with: portmgr Has Reservations: eik
* Add /etc/ntp to hold keys for ntpd.roberto2004-07-211-0/+2
|
* For the gbde attach script:simon2004-07-182-3/+15
| | | | | | | | | | | - Ask the user up to X times (3 by default) for the pass-phrase, if it is incorrect the first time. - Add support for storing the lockfiles in another other directory than /etc. - Document that it is possible to override the location of each single lockfile. Approved by: pjd
* Whitespace cleanup. This will simplify a future merge fromcperciva2004-07-111-166/+161
| | | | IANA's official list of port assignments.
* Add a directory for the API include files.harti2004-07-081-0/+2
|
* Sort entries correctly.cperciva2004-07-071-21/+21
|
* Disable rescanning of the scsi bus for the scsi controllers. Thereimp2004-07-051-1/+1
| | | | | | | are some that really hate this, so now that devd is default, be more conservative about what we do. Noticed by: marcel
OpenPOWER on IntegriCloud