aboutsummaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Add (disabled) sample configuration lines needed to enable snmp_target(3) moduleShteryana Shopova2010-12-201-35/+98
| | | | | | | | | | | | and configure minimal target addresses & notifications needed for bsnmpd(1) to send SNMPv3 notifications. Sponsored by: The FreeBSD Foundation Reviewed by: philip Approved by: philip Notes: svn path=/head/; revision=216595
* Add pf in quiet modeKevin Lo2010-12-171-2/+2
| | | | Notes: svn path=/head/; revision=216499
* Fix typos.Shteryana Shopova2010-12-081-2/+2
| | | | Notes: svn path=/head/; revision=216301
* Add (disabled) sample configurations needed to enable the snmp_usm andShteryana Shopova2010-12-081-0/+136
| | | | | | | | | | | | snmp_vacm modules and minimal user/view configurations needed to for the modules to work properly. Sponsored by: The FreeBSD Foundation Reviewed by: philip@ (mostly) Approved by: philip@ Notes: svn path=/head/; revision=216300
* Add a sync to the shutdown step. In the common case this will be harmlessDoug Barton2010-11-251-2/+2
| | | | | | | | | | at worst. On a heavily loaded server it will give the fs a chance to do its business without the axe hanging over its head. Submitted by: ivoras Notes: svn path=/head/; revision=215824
* Add gptboot_enable rc variable, which allows to turn gptboot reporting off inPawel Jakub Dawidek2010-11-242-0/+3
| | | | | | | | | | | case user wants to implement his own actions and doesn't want the attributes to vanish. Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 3 days Notes: svn path=/head/; revision=215799
* Add for existing protocol entries the missing SCTP port allocationsMichael Tuexen2010-11-131-1/+81
| | | | | | | | | | | | | | and add protocol entries for protocols which have SCTP port allocations. These entries are according to http://www.iana.org/assignments/port-numbers as of today. Also add SCTP port allocation entires for the echo, daytime, and chargen service. Discussed with rwatson@ MFC after: 3 days. Notes: svn path=/head/; revision=215249
* Add an (off by default) check for negative permissions (where theBrooks Davis2010-11-133-0/+58
| | | | | | | | | | | group on a object has less permissions that everyone). These permissions will not work reliably over NFS if you have more than 14 supplemental groups and are usually not what you mean. MFC after: 1 week Notes: svn path=/head/; revision=215213
* Add firmware downloader for Atheros AR3011 based USB Bluetooth devices.Maksim Yevmenkin2010-11-121-0/+7
| | | | | | | | | | Hardware donated by: Rusty Nejdl rnejdl at ringofsaturn dot com Tested by: Rusty Nejdl rnejdl at ringofsaturn dot com Tested by: Andrzej Tobola ato at iem dot pw dot edu dot pl MFC after: 3 weeks Notes: svn path=/head/; revision=215195
* Hide 460.chkportsum in MK_PKGTOOLS != no case.Xin LI2010-11-091-1/+4
| | | | | | | | Submitted by: Alex Kozlov <spam rm-rf kiev ua> MFC after: 2 weeks Notes: svn path=/head/; revision=215045
* Add a jails directory in the examples sectionJulian Elischer2010-10-241-0/+2
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=214308
* No longer install /etc/manpath.config since the BSDL man utilitiesGordon Tetlow2010-10-041-4/+0
| | | | | | | | | don't use it. Approved by: wes (mentor) Notes: svn path=/head/; revision=213394
* Commit the rest of r213270.Ed Maste2010-09-291-0/+1
| | | | | | | Thanks to Anonymous <swell dot k at gmail.com> for spotting this. Notes: svn path=/head/; revision=213285
* /etc/rc.d/defaultroute currently bails immediately if all interfacesEd Maste2010-09-291-17/+26
| | | | | | | | | | | | | | | | | | | set to use DHCP have no carrier. This can cause grief as it may take some time for link to be established, and defaultroute may terminate before this happens. Introduce a defaultroute_carrier_delay variable and then wait that long in defaultroute before bailing if no interfaces have carrier. With the default settings defaultroute will wait for five seconds for this, and the original 30 second wait for a default route to appear is unchanged. Note that there is in discussion an alternative approach to the broader problem of waiting for DHCP-configured routes. However, this change addresses a real problem in the current defaultroute script. Discussed on: freebsd-rc@ Notes: svn path=/head/; revision=213270
* Prefer echo over printfWarner Losh2010-09-271-1/+1
| | | | Notes: svn path=/head/; revision=213202
* Add gptboot script that is responsible for:Pawel Jakub Dawidek2010-09-242-1/+77
| | | | | | | | | | | | | | | - looking for partition with 'bootonce' attribute alone (without 'bootme' attribute), removing it and logging that we successfully booted from this partition. - looking for partitions with 'bootfailed' attribute, removing it and logging that we failed to boot from this partition. Reviewed by: arch (Message-ID: <20100917234542.GE1902@garage.freebsd.pl>) Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 2 weeks Notes: svn path=/head/; revision=213137
* Split $ipv6_prefer into $ip6addrctl_policy and $ipv6_activate_all_interfaces.Hiroki Sato2010-09-134-13/+44
| | | | | | | | | | | | | | | | | | | | | | The $ip6addrctl_policy is a variable to choose a pre-defined address selection policy set by ip6addrctl(8). The keyword "ipv4_prefer" sets IPv4-preferred one described in Section 10.3, the keyword "ipv6_prefer" sets IPv6-preferred one in Section 2.1 in RFC 3484, respectively. When "AUTO" is specified, it attempts to read /etc/ip6addrctl.conf first. If it is found, it reads and installs it as a policy table. If not, either of the two pre-defined policy tables is chosen automatically according to $ipv6_activate_all_interfaces. When $ipv6_activate_all_interfaces=NO, interfaces which have no corresponding $ifconfig_IF_ipv6 is marked as IFDISABLED for security reason. The default values are ip6addrctl_policy=AUTO and ipv6_activate_all_interfaces=NO. Discussed with: ume and bz Notes: svn path=/head/; revision=212579
* Localize $_punct_c in get_if_var() and whitespace clean-ups.Hiroki Sato2010-09-131-6/+6
| | | | | | | Based on: changes in r206408 by dougb Notes: svn path=/head/; revision=212578
* - Check some specific IFs first in ipv6_autoconfif().Hiroki Sato2010-09-131-18/+15
| | | | | | | | | - $ipv6_enable supports YES|TRUE|ON|1 as in checkyesno(). Based on: changes in r206408 by dougb Notes: svn path=/head/; revision=212577
* Add $ipv6_privacy to support net.inet6.ip6.use_tempaddr. Note that thisHiroki Sato2010-09-132-0/+9
| | | | | | | | | will be replaced with a per-IF version later. Based on: changes in r206408 by dougb Notes: svn path=/head/; revision=212576
* Fix $ipv6_network_interfaces and set it as AUTO by default.Hiroki Sato2010-09-132-23/+12
| | | | | | | Based on: changes in r206408 by dougb Notes: svn path=/head/; revision=212575
* Revert changes in r206408.Hiroki Sato2010-09-135-105/+132
| | | | | | | Discussed with: dougb, core.5, and core.6 Notes: svn path=/head/; revision=212574
* Create the var/run/wpa_supplicant directory where the wpa_supplicantBernhard Schmidt2010-09-101-0/+2
| | | | | | | | | RC script wants to save a pidfile for each interface. MFC after: 2 weeks Notes: svn path=/head/; revision=212411
* Avoid to try to remove suj journal file (.sujournal) and conventionalDaichi GOTO2010-09-051-0/+3
| | | | | | | snapshot directory (.snap) from cleartmp rc.d script. Notes: svn path=/head/; revision=212222
* o Correct typo.Maxim Konovalov2010-08-251-1/+1
| | | | | | | | Submitted by: Bojidara Marinchovska via -stable MFC after: 1 week Notes: svn path=/head/; revision=211801
* - Change the threshold from 'running next scrub the <value+1>th day after theAlexander Leidinger2010-08-251-3/+3
| | | | | | | | | | | last one' to 'running next scrub the <value>th day after the last one'. - Improve wording. Requested by: jhell <jhell@DataIX.net> MFC after: 1 week Notes: svn path=/head/; revision=211800
* Fix silly typo on my part (s/quotas_enable/quota_enable/)Doug Barton2010-08-141-1/+1
| | | | | | | Submitted by: ed Notes: svn path=/head/; revision=211319
* Give people some warning before removing enable_quotasDoug Barton2010-08-141-2/+2
| | | | Notes: svn path=/head/; revision=211311
* Consistently use full pathnames for external commands.Jung-uk Kim2010-08-132-7/+7
| | | | Notes: svn path=/head/; revision=211291
* Do not fork a subshell unnecessarily.Jung-uk Kim2010-08-131-2/+2
| | | | Notes: svn path=/head/; revision=211289
* Enforce ACPI timer as the timecounter hardware before we change sleep stateJung-uk Kim2010-08-132-0/+18
| | | | | | | | | unless it is the current timer. When we have resumed successfully, restore the previous timecounter hardware if it was changed earlier. Only the ACPI timer is guaranteed to increase monotonically between S-state changes. Notes: svn path=/head/; revision=211288
* Connect the new script 490.status-pkg-changes (see r210863)Oliver Fromme2010-08-101-0/+4
| | | | | | | | | | to the build, so it gets actually installed. Approved by: des (mentor) MFC after: 17 days Notes: svn path=/head/; revision=211142
* - Fixes to the chkportsum script to handle better some special cases,Gabor Kovesdan2010-08-101-9/+9
| | | | | | | | | | like spaces in filename Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> Approved by: delphij (mentor) Notes: svn path=/head/; revision=211141
* Add a daily script to the periodic framework that reportsOliver Fromme2010-08-052-0/+46
| | | | | | | | | | | | | | | | | | | | | changes to the package database, i.e. any packages that have been added, updated or deleted in the past 24 hours. The format is intentionally simple and concise. That information is particularly useful on servers that are maintained by multiple administrators. When someone adds, updates or deletes a package, the others will see it in the daily periodic output. This script is disabled by default. PR: conf/113913 Submitted by: olli Approved by: des (mentor) MFC after: 3 weeks Notes: svn path=/head/; revision=210863
* /etc/rc.d/network_ipv6 was deprecated.Hajimu UMEMOTO2010-08-051-1/+0
| | | | | | | Reported by: Alex Kozlov <spam__at__rm-rf.kiev.ua> Notes: svn path=/head/; revision=210862
* /etc/rc.d/ip6fw was deprecated.Hajimu UMEMOTO2010-08-051-1/+0
| | | | | | | | Reported by: Alex Kozlov <spam__at__rm-rf.kiev.ua> MFC after: 3 days Notes: svn path=/head/; revision=210861
* Allow starting /etc/rc.d/ipmon if ipnat is enabled but ipfilter is notJilles Tjoelker2010-08-011-1/+1
| | | | | | | | | | | | | | (in /etc/rc.conf). This fixes an apparent confusion between test(1) and sh(1) syntax for AND/OR. PR: conf/149036 Submitted by: pluknet MFC after: 1 week Notes: svn path=/head/; revision=210734
* Add a (disabled) configuration line to enable the snmp_wlan(3) module.Shteryana Shopova2010-07-261-0/+6
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=210503
* Upgrade our Clang in base to r108428.Ed Schouten2010-07-201-1/+1
| | | | | | | | | | | | This commit merges the latest LLVM sources from the vendor space. It also updates the build glue to match the new sources. Clang's version number is changed to match LLVM's, which means /usr/include/clang/2.0 has been renamed to /usr/include/clang/2.8. Obtained from: projects/clangbsd Notes: svn path=/head/; revision=210299
* - Add a periodic script, which can be used to find installed ports' files withGabor Kovesdan2010-07-193-0/+72
| | | | | | | | | | | mismatched checksum PR: conf/124641 Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> Approved by: delphij (mentor) Notes: svn path=/head/; revision=210254
* Fix spelling of "weirdo" in /etc/gettytab comment.Benedict Reuschling2010-07-121-1/+1
| | | | | | | | | | PR: docs/148500 Submitted by: Warren Block (wblock at wonkity dot com) Approved by: ed@ MFC after: 1 week Notes: svn path=/head/; revision=209954
* Use spaces, not tabs.Pawel Jakub Dawidek2010-06-281-5/+5
| | | | Notes: svn path=/head/; revision=209564
* Bring in Kris Moore's pc-sysinstall shell script from PC-BSD. ThisWarner Losh2010-06-241-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shell script is the back end logic necessary for an installer. It contains both query routines to allow a front-end installer to present reasonable choices to the user and also action routines which allow the front end installer to put a FreeBSD distribution onto a disk. It supports installing onto the usual suspects, as well as advanced features like Mirroring, ZFS, Encryprion and GPT labels. While this is only the back-end of the installer, it can do unattended scripted installations. In PC-BSD's world view, all installations are scripted and all the front-end does is write the script. As such, it is useful in its own right. This has been extensively tested over the past several releases of PC-BSD. However, differences between that environment and FreeBSD suggest there will be a period of shake-out while those differences are discovered and corrected. A text-based front-end is in the works. For the GUI-based front-end, you can use the PC-BSD distribution. Kris' BSDcan paper on pc-sysinstall is linked off his talk on the BSDcan site: http://www.bsdcan.org/2010/schedule/events/173.en.html The man page is written by Josh Paetzel, and I wrote the Makefiles for the FreeBSD integration. Kris wrote the rest. This represents version r7010 in the PC-BSD repo. http://svn.pcbsd.org/pcbsd/current/pc-sysinstall Submitted by: kris@ Sponsored by: iX Systems Notes: svn path=/head/; revision=209513
* Remove vestiges of 'slip'.Brian Somers2010-06-191-7/+2
| | | | | | | | | PR: 145648 Submitted by: alexbestms at wwu dot de and spam at rm-rf dot kiev dot ua MFC after: 1 week Notes: svn path=/head/; revision=209331
* Add the AAAA address for i.root-servers.netDoug Barton2010-06-181-2/+3
| | | | Notes: svn path=/head/; revision=209286
* - add the zfs scrub scriptAlexander Leidinger2010-06-171-1/+5
| | | | | | | | | | - move the zfs status script into the MK_ZFS conditional to respect WITHOUT_ZFS Noticed by: Andrzej Tobola <ato@iem.pw.edu.pl> Notes: svn path=/head/; revision=209250
* device.hints: do install when WITHOUT_BOOT is setAndriy Gapon2010-06-161-0/+2
| | | | | | | | Discussed with: imp MFC after: 2 weeks Notes: svn path=/head/; revision=209228
* Add a periodic zfs scrub script.Alexander Leidinger2010-06-151-0/+86
| | | | | | | | | | | | | | | | | | | | Features: - configurable amount of days between scrubs (default value or per pool) - do not scrub directly after pool creation (respects the configured number of days between scrubs) - do not scrub if a scrub is in progress - tells how to see the status of the scrub - tells how many days since the last scrub if it skips the scrubbing - warns if a non-existent pool is specified explicitely (default: no pools specified -> all currently imported pools are handled) - runs late in the periodic run to not slow down the other periodic daily scripts Discussed on: fs@ Notes: svn path=/head/; revision=209195
* Merge from tbemd, with minor tweaks:Warner Losh2010-06-131-1/+5
| | | | | | | | | Search from most specific ($MACHINE) to least specific ($MACHINE_CPUARCH) when looking for the tty file to use. Also add an .error case if none exist. Notes: svn path=/head/; revision=209134
* Hook clang into the build on i386/amd64/powerpc.Roman Divacky2010-06-091-0/+4
| | | | | | | Approved by: ed (mentor) Notes: svn path=/head/; revision=208964