summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Update DNSBL information (MAPS has been acquired, used a generic example)gshapiro2011-06-141-5/+3
|
* Convert the allowed characters '-', '.', and ':' in a ZFS pool name to _jpaetzel2011-06-131-1/+1
| | | | | | | | | to avoid causing errors in the shell script. Submitted by: William Grzybowski <william88@gmail.com> Approved by: kib (mentor) MFC after: 7 days Sponsored by: iXsystems
* - Remove $ipv6_gateway_enable check.hrs2011-06-111-7/+1
| | | | - Use list_net_interfaces() instead of "ifconfig -l".
* Add a helper function to check kern.features.* sysctls.hrs2011-06-112-5/+24
| | | | Discussed with: dougb
* Make three one line changes to the rc scripts so thatrmacklem2011-06-113-3/+3
| | | | | | they work with the new NFS client being the default, since the new NFS client's module name is nfscl and not nfsclient.
* Do not mark lo0 as IFDISABLED even if there is no $ifconfig_lo0_ipv6 line.hrs2011-06-061-1/+1
|
* Remove "ifconfig IF inet6 -accept_rtadv" when ipv6_gateway_enable=YES becausehrs2011-06-061-16/+10
| | | | this is no longer needed.
* No logner set an IPv4 loopback address by default in defaults/rc.conf.bz2011-05-312-9/+21
| | | | | | | | | | | | | | | | | | If not specified, network.subr will add it automatically if we have INET support (1). In network.subr only call the address family up/down functions if the respective AF is available. Switch to new kern.features variables for inet and inet6 as the inet sysctl tree is also available for IPv6-only kernels leading to unexpected results. Suggested by: hrs (1) Reviewed by: hrs Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 20 days
* Remove redundant keywords.hrs2011-05-172-2/+2
| | | | Submitted by: wxs
* network.subr: Use printf(1) builtin for hexprint function.jilles2011-05-141-26/+2
| | | | | | | | | Now that printf(1) is a shell builtin, there is no need to emulate it anymore. The external printf(1) is /usr/bin/printf and therefore may not be available in early boot. It may be faster to use printf directly but the function is useful for compatibility.
* Change the new NFS server so that it uses vfs.nfsd namingrmacklem2011-05-081-3/+3
| | | | | for its sysctls instead of vfs.newnfs. This separates the names from the ones used by the client.
OpenPOWER on IntegriCloud