summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Use resolvconf(8) to create /etc/resolv.conf, not directly overwrite it.hrs2011-09-191-7/+7
| | | | Approved by: re (kib)
* Fix the script order to run rc.d/bridge after the initial networkhrs2011-09-191-1/+2
| | | | | | interface configuration and before running network daemons. Approved by: re (kib)
* Expose "log" in the default devfs rules. /etc/rc.d/jail creates /dev/logjh2011-09-151-0/+1
| | | | | | | | | as a symbolic link. PR: conf/160711 Submitted by: Jase Thew Approved by: re (kib) MFC after: 1 week
* Correct the RFC number for the description of IPv6 privacy addressingdougb2011-09-151-1/+1
| | | | | Reviewed by: bz Approved by: re (kib)
* Minor spelling, wording and punctuation fixes in comments.brueffer2011-09-141-6/+6
| | | | | | | PR: 155984 Submitted by: gcooper Approved by: re (kib) MFC after: 1 week
* - Add an warning when ifconfig_IF_ipv6 has no inet6 keyword in fronthrs2011-09-131-2/+10
| | | | | | | | of an IPv6 address. (r225489) - Use eval for ${ifconfig_args} to fix an issue fixed in r223506. (r225489) Approved by: re (bz)
* Add $ipv6_cpe_wanif to enable functionality required for IPv6 CPEhrs2011-09-133-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | (r225485). When setting an interface name to it, the following configurations will be enabled: 1. "no_radr" is set to all IPv6 interfaces automatically. 2. "-no_radr accept_rtadv" will be set only for $ipv6_cpe_wanif. This is done just before evaluating $ifconfig_IF_ipv6 in the rc.d scripts (this means you can manually supersede this configuration if necessary). 3. The node will add RA-sending routers to the default router list even if net.inet6.ip6.forwarding=1. This mode is added to conform to RFC 6204 (a router which connects the end-user network to a service provider network). To enable packet forwarding, you still need to set ipv6_gateway_enable=YES. Note that accepting router entries into the default router list when packet forwarding capability and a routing daemon are enabled can result in messing up the routing table. To minimize such unexpected behaviors, "no_radr" is set on all interfaces but $ipv6_cpe_wanif. Approved by: re (bz)
* Sync pf.os with OpenBSD:delphij2011-09-081-4/+7
| | | | | | | | | - Update OpenBSD fingerprints through OpenBSD 4.9 - Fix typos. Obtained from: OpenBSD MFC after: 2 weeks Approved by: re (kib)
* Fix path to the handbook and provide a hint about how to install it if itnwhitehorn2011-08-261-2/+4
| | | | | | was not added at installation time. Approved by: re (blackend)
* Honor WITHOUT_IPX when installing etc/rc.d/ipxrouted.delphij2011-08-231-1/+5
| | | | | MFC after: 1 week Approved by: re (kib)
* Revert r224760, and enhance the sed patterns from r224659 to comment outdougb2011-08-102-15/+11
| | | | | | the _compat entries in the WITHOUT_NIS case rather then delete them. Approved by: re (kib)
* Rather than edit the nsswitch.conf file based on ${MK_NIS} == "no"dougb2011-08-062-11/+15
| | | | | | | | | | comment out the NIS _compat options by default, but leave them in the file for the convenience of users who want to enable it. Update the comment in the file accordingly. Reviewed by: ed Approved by: re (hrs)
* Remove NIS entries from /etc/nsswitch.conf for WITHOUT_NIS.ed2011-08-051-0/+4
| | | | | | | | | | We already modify various configuration files in /etc based on build configuration. This is not done for nsswitch.conf right now when setting WITHOUT_NIS. This breaks various utilities, including crond, that depend on working databases. Approved by: re (kib) MFC after: 1 month
* Revert the apparently-unecessary module_path twiddling from r223917dougb2011-07-221-15/+2
| | | | Approved by: re (kib)
* rc.d/routing: Fix ugly output with additional routing options.jilles2011-07-171-15/+27
| | | | | | | | | Print a separate "Additional routing options" line for each address family which has additional options, so that it does not get mixed up with the output from adding routes. This also reverts r224048 which added newlines to two arbitrary routing options.
* Commemorate the release of RFC 6303 by updating the comments regardingdougb2011-07-171-10/+10
| | | | our default empty zones. No functional changes.
* Pick up the 2011-06-08 update to this file, the addition of an IPv6dougb2011-07-171-2/+3
| | | | address for D.
* Remove "-n" from echokevlo2011-07-151-2/+2
| | | | Reviewed by: dougb
* More Japan regulatory domain fixes:adrian2011-07-141-1/+21
| | | | | | * Add HT40 entries for the two new Japan bands * Fix a channel separation bug in one of the new bands I introduced in a previous commit.
* Japan regulatory domain update #1 - sync with CRDA entries.adrian2011-07-141-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifics: * add 4920MHz-4980MHz for 11a and 11n/HT20 * add 5040MHz-5080MHz for 11a and 11n/HT20 * add 5500MHz-5700MHz for 11a and 11n/HT20 (DFS needed) * add 5500MHz-5680MHz for 11n/HT40 (DFS needed) TODO: * add correct HT40 bands for 4920-4980 and 5040-5080 For the curious: There's been many revisions to the Japan regulatory rules. Apparently, the requirements require old cards certified on a previous version of the rules to obey the older rules, not the newer rules. The regdomain.xml outlines the -current- restrictions. The card driver (eg the ath_hal regulatory domain code) may include previous revisions of the Japan rules. The ath_hal regdomain code populates the initial channel list based on what the EEPROM indicates is possible. The regdomain.xml database imposes further restrictions on this. So regdomain.xml only needs to have the -current- rules. If the card was certified on an earlier set of JP rules, it may only support a subset of those channels - these are calculated at device attach and this restricted list is kicked to net80211. regdomain.xml operates on -this- list of channels. And thus, the correct regulatory behaviour for Japan is handled with only one regdomain.xml Japan database entry. (phew.) Obtained from: Linux wireless-regdb
* Make sure we load kernel modules from the same path as the running kerneldougb2011-07-101-2/+15
|
* Delete the /etc/rc.d/nfsserver script, since it is normacklem2011-07-085-23/+4
| | | | | | | | longer used by /etc/rc.d/nfsd and it is no longer necessary to load the old nfs server by default, when nfs_server_enable="YES". Tested by: sgk at troutmask.apl.washington.edu Reviewed by: rc (Andrzej Tobola)
* Fix the /etc/rc.d/nfsd script so that it no longer usesrmacklem2011-07-071-3/+3
| | | | | | | | the /etc/rc.d/nfsserver script to load the old nfs server module. Tested by: sgk at troutmask.apl.washington.edu Reviewed by: rc (hrs)
* Run load_rc_config before stop_cmd definition, so that ${quotaoff_flags}pluknet2011-06-281-1/+1
| | | | | | | | is correctly expanded inside stop_cmd instead of getting nothing. PR: conf/157687 Reported by: Dmitry Banschikov <d.banschikov peterhost ru> MFC after: 1 week
* Regenerate usb.conf after r223566.hselasky2011-06-271-9/+1
|
* .. this wasn't supposed to be committed! sorry.adrian2011-06-261-2/+0
|
* The SMCWUSBG is a zyd(4) device, not an uath(4) device. Remove from thegavin2011-06-261-2/+2
| | | | | | | | | | | | | | | latter. It appears that the addition to uath(4) came in through PR kern/135009, which had tested another device, the SMCWUSBTG2, successfully with uath(4) and included the SMCWUSBG as it "has the same chipset". I can find no other evidence that these two do actually share the same chipset. Moreover, Linux treats the SMCWUSBG as a zyd(4) device also. This reverts r223537. Discussed with: hselasky, kevlo MFC after: 1 week
* I think 23dBm is the correct value to use here. CRDA uses 20dBm + 3dB max ↵adrian2011-06-261-9/+9
| | | | | | | antenna gain; I believe net80211 doesn't take antenna gain into account and leaves it up to the driver to enforce. (ath_hal(4) certainly tries to do this.)
* Add a couple more frequency ranges to the FCC3 (FCC + DFS) regulatory domain.adrian2011-06-262-0/+62
| | | | | | | | | | | | | The frequency range 5490MHz -> 5710MHz was opened up sometime in 2009, but regdomain.xml wasn't updated. FCC reference: (Section 15.407): http://louise.hallikainen.org/FCC/FccRules/2009/15/407/ The hole between 5600-5650MHz is due to a request from Airports using a weather radar system which also utilises this range. The GIT commit explaining this hole in more detail can be found here: http://git.kernel.org/?p=linux/kernel/git/linville/wireless-regdb.git;a=commit;h=fcbf9225d56e82d9a4e506187d42285e76d81523
* Replace tab with 8 spaces, bringing it in line with the rest of the file.adrian2011-06-261-3/+3
|
* - Move bus_auto.conf back into /etc/devd/hselasky2011-06-253-2/+2
| | | | | | | - Rename bus_auto.conf into usb.conf Requested by: imp @ MFC after: 14 days
* - Move auto-load devd config file into etc/defaults folder.hselasky2011-06-252-116/+2010
| | | | | | | - Regenerate file after bugfix in the generator. Suggested by: Jeremy Messenger MFC after: 14 days
* - Export more USB device ID's.hselasky2011-06-241-1/+35
| | | | | | - Update bus_auto.conf accordingly. MFC after: 3 days
* - Add auto-load devd config file for USB kernel modules.hselasky2011-06-241-0/+2347
| | | | MFC after: 14 days
* Add support for string values with white spaces for ifconfig(8)pluknet2011-06-241-1/+1
| | | | | | | | | | | | parameters accepting them (such as description, group). Changes discussed on freebsd-rc. PR: conf/156675 Reported by: "Alexander V. Chernikov" <melifaro att ipfw ru> Suggested by: hrs Analyzed with: Alexander V. Chernikov via IRC MFC after: 2 weeks
* Fix another broken HT40 channel band reference.adrian2011-06-241-1/+1
|
* More incorrect HT/40 setups in FCC.adrian2011-06-241-2/+2
| | | | Noticed-by: bschmidt@
* Fix an incorrect frequency band for HT/40 in the FCC SKU.adrian2011-06-241-1/+1
| | | | Noticed by: bschmidt@
* Import one of the two missing US FCC DFS bands to FCC3.adrian2011-06-241-0/+20
| | | | | The FCC opened up this band sometime in 2009 (and ath was updated); but regdomain.xml wasn't updated.
* I knew there was something funny about this linedougb2011-06-221-1/+2
|
* Blah, forgot to svn add the actual script from r223310dougb2011-06-191-0/+97
|
* Add the netwait rc.d script. It waits for the specified period for thedougb2011-06-193-2/+9
| | | | | | | network to become active. PR: conf/151063 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
* rc.subr: Make sure all functions are under if [ -z "${_rc_subr_loaded}" ].jilles2011-06-191-2/+2
|
* rc.subr: Eliminate a fork from check_kern_features, like r223227.jilles2011-06-191-1/+1
| | | | MFC after: 2 weeks
* Add rc.d/kld to load kernel modules after local disks are up.dougb2011-06-184-2/+56
| | | | This method is many times faster than doing it in /boot/loader.conf.
* rc.subr: Eliminate about 100 forks from the boot sequence.jilles2011-06-181-5/+5
| | | | | | | | | | | | With the current sh, placing eval in a command substitution always results in a fork(), even if it is the only command and only executes a single simple command. Therefore, avoid it where it can be avoided easily. Side effect: values starting with a hyphen and all whitespace are preserved. The values are defaults and names for rc.conf variables and messages to be given about obsolete ones. MFC after: 2 weeks
* Add WITHOUT_UTMPX switch to the build system.ed2011-06-171-2/+7
| | | | | | | | | This knob removes the tools that are exclusively used to view and maintain the databases maintained by utmpx, namely last, users, who, wtmpcvt, ac, lastlogin and utxrm. The tool w is not in this list, because it has some other functionality which is unrelated to utmpx; it is hardlinked to the uptime tool.
* Don't omit ac(8) as part of WITHOUT_ACCT.ed2011-06-171-7/+2
| | | | | | | The WITHOUT_ACCT switch is supposed to omit tools related to process accounting, namely accton and sa. ac(8) is just a simple tool that prints statistics based on data in the utx.log database. It has nothing to do with the former.
* Eliminate extraneous pipelines and tr calls.jpaetzel2011-06-151-1/+1
| | | | | Approved by: kib (mentor) MFC after: 3 days
* Minor change to force commit this file so new freebsd*.cf files aregshapiro2011-06-141-1/+0
| | | | | | built to use the new sendmail-8.14.5/cf tree. MFC after: 4 days
OpenPOWER on IntegriCloud