summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Whenever you boot with nfsv4_server_enable=NO (the default) in rc.conf,dim2011-11-051-0/+5
| | | | | | | | | | | | | | | | | | | the /etc/rc.d/nfsd script sets vfs.nfsd.server_max_nfsvers to 3. Then, when you set nfsv4_server_enable=YES in rc.conf, and restart nfsd via the rc.d script, without rebooting, the sysctl does *not* get reset to max version 4, so NFSv4 still doesn't work. Fix this by explicitly setting vfs.nfsd.server_max_nfsvers to 4 when NFSv4 is requested. I also added resetting of the nfs_privport sysctls, since this has the same issue: nfs_reserved_port_only=YES in rc.conf sets the nfs_privport sysctl to 1, but in the other case, the sysctl doesn't get reset to 0. Reviewed by: rmacklem Silence from: rc@ MFC after: 3 days
* Fix handling of rc_force in /etc/rc.d/dhclientrea2011-10-281-4/+13
| | | | | | | | | | Variable 'rc_force' is accessible only at the time of rc_run_command, so it can't be examined from the script's main code. Spotted by: hrs Reviewed by: hrs, des Approved by: des MFC after: 2 weeks
* Increase default scrub threshold from 30 days to 5 weeks. Usingdelphij2011-10-272-3/+3
| | | | | | | whole weeks makes it easier to predicate when the scrub would happen. MFC after: 1 week
* Remove example for linking /dev/vga to /dev/ttyv0, this hasn't beengavin2011-10-271-3/+0
| | | | | | | | required since X version 4.3.0. PR: conf/161847 Submitted by: eadler MFC after: 2 weeks
* Update the example rules in devfs.conf to reflect the changes since ATA_CAM.gavin2011-10-271-1/+2
| | | | | | | While here, add another example rule, as many applications these days expect to find /dev/dvd instead. MFC after: 3 days
* - Add support for a "!" character in regex matching in devd(8). It invertshrs2011-10-261-0/+1
| | | | | | | | | the logic (true/false) of the matching. - Add "!usbus[0-9]+" to IFNET ATTACH notification handler in the default devd.conf to prevent rc.d/netif from running when usbus[0-9]+ is attached. Reviewed by: imp
* Correctly reassign copyright of etc/rc.d/static_ndp back to delphij@mm2011-10-231-1/+1
| | | | | | | as the project itself is no legal entity Reported by: Joe Dahl <joel@vnode.se> MFC after: 3 days
* Add etc/rc.d/static_ndp, analogous to etc/rc.d/static_arp.mm2011-10-234-1/+77
| | | | | | | | | | Make sure that static ARP and NDP bindings are set before NETWORKING. As static_ndp is based on static_arp, pass copyright to the project with permission of the original author (delphij@). Reviewed by: delphij@FreeBSD.org MFC after: 3 days
* Add support for removing addresses added by ipv6_prefix_hostid_addr_up()hrs2011-10-231-7/+10
| | | | upon rc.d/netif stop.
* Fix an issue that 127/8 is not configured when $ifconfig_DEFAULT is not empty.hrs2011-10-231-1/+1
| | | | Spotted by: ume
* Add new USB IDs to RUN driver. Update usb.conf.hselasky2011-10-191-7/+71
| | | | | PR: usb/161798 MFC after: 3 days
* Add missing default values for daily/800.scrub-zfs for documentationse2011-10-171-0/+6
| | | | | | purposes. No functional change, since all parameters are set to their default values. MFC after: 1 week
* Fix error message in case the backup storage directory does not exist andse2011-10-171-1/+1
| | | | | cannot be created ($daily_backup_pkgdb_dbdir -> $daily_backup_pkgdb_dir). MFC after: 1 week
* The rc_force test was inverted in the previous commit, so that dhclient randes2011-10-171-1/+1
| | | | | | | | | | | for interfaces which were not configured for DHCP *unless* rc_force was set; the correct logic is to run dhclient for those interfaces *only if* rc_force is set. Broken by: des@ Noticed by: everybody and his dog Submitted by: rea@ PR: bin/161733
* Add support for special keys (volume/brightness/eject) on Apple laptops withnwhitehorn2011-10-162-1/+55
| | | | | | | ADB keyboards. Submitted by: Justin Hibbits <jrh29 at alumni dot cwru dot edu> MFC after: 9.0-RELEASE
* Make dhclient use a pid file. Modify the rc script accordingly; whiledes2011-10-131-32/+16
| | | | | | | there, clean it up and add some error checks. Glanced at by: brooks@ MFC after: 3 weeks
* Now that the portsnap buildbox is generating the raw bits for INDEX-9,cperciva2011-10-121-0/+1
| | | | add it to the set of INDEX files built by portsnap.
* Revive the LLVM and Clang license files, which were removed in mydim2011-09-291-0/+4
| | | | | | | | | too-thorough cleanup of unused files, in r213695. Also make sure these get installed under /usr/share/doc. Submitted by: rwatson, brooks Pointy hat to: dim MFC after: 3 days
* Fix a confusing sentence. [1]wblock2011-09-291-17/+16
| | | | | | | Other wording tweaks. Reviewed by: imp [1] Approved by: gjb
* Test if the interface is afif in dhcpif() and syncdhcpif(), asdelphij2011-09-281-0/+8
| | | | | | | done in ipv6_autoconfif. Reviewed by: hrs (freebsd-rc@) MFC after: 1 week
* Install ciss(4) ioctl header (together with other .h files from sys/dev/ciss).kib2011-09-271-0/+2
| | | | | | | PR: kern/109813 Discussued with: Alex Samorukov <samm os2 kiev ua> (smartmontools maintainer) MFC after: 1 week
* Use REQUIRE: line to reorder rc.d/bridge instead of BEFORE: line.hrs2011-09-202-2/+1
| | | | | Pointed out by: dougb Approved by: re (bz)
* 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.)
OpenPOWER on IntegriCloud