summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
...
* Add compatibility support for specifing IPv4 aliases inglebius2011-12-131-0/+7
| | | | | | rc.conf without the "inet" keyword. Obtained from: hrs
* Fix style(9) issues from r228270.jhibbits2011-12-051-1/+1
| | | | Approved by: nwhitehorn (mentor)
* Add a devd notification for closing/opening the lid on PowerBooks and iBooks.jhibbits2011-12-051-0/+10
| | | | Approved by: nwhitehorn (mentor)
* Ensure kldxref is run first. Currently both 'kldxref' and 'kld' dependobrien2011-12-011-1/+1
| | | | | | on "FILESYSTEMS" and 'kld' is being run 8 scripts ahead of 'kldxref'. Reported by: dhw
* Import libc++ / libcxxrt into base. Not build by default yet (usetheraven2011-11-251-0/+4
| | | | | | | | | | | MK_LIBCPLUSPLUS=yes to enable). This is a work-in-progress. It works for me, but is not guaranteed to work for anyone else and may eat your dog. To build C++ using libc++, add -stdlib=libc++ to your CXX and LD flags. Bug reports welcome, bug fixes even more welcome... Approved by: dim (mentor)
* Better use pkill(1) in last commit.glebius2011-11-211-1/+1
| | | | Submitted by: pjd
* On some laptops it is important to re-open /dev/psm after resume. moused(8)glebius2011-11-151-0/+4
| | | | | was capable to do this upon SIGHUP for more than a decade. Automate this via rc.resume in default installation.
* The default setting, daily_accounting_compress="NO", was causingdougb2011-11-131-6/+12
| | | | | | | | | | | | | | | only 1 old file to be saved, so fix this. Problem raised in the PR, but actually required a different solution. While I'm here, fix a very old off-by-one error causing 1 more file than specified in daily_accounting_save to be saved because acct.0 was not taken into account (pun intended). Change that, and use a more thorough method of finding old files to delete. Partly just because this is the right thing to do, but also to silently fix the extra log that would have been left behind forever with the previous method. PR: conf/160848 Submitted by: Andrey Zonov <andrey@zonov.org>
* rc.d: Eliminate some unnecessary non-POSIX constructs:jilles2011-11-083-2/+3
| | | | | | * set - ... * empty braces * ^ in character class
* 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.
OpenPOWER on IntegriCloud