summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert changes in r206408.hrs2010-09-135-105/+132
| | | | Discussed with: dougb, core.5, and core.6
* Create the var/run/wpa_supplicant directory where the wpa_supplicantbschmidt2010-09-101-0/+2
| | | | | | RC script wants to save a pidfile for each interface. MFC after: 2 weeks
* Avoid to try to remove suj journal file (.sujournal) and conventionaldaichi2010-09-051-0/+3
| | | | snapshot directory (.snap) from cleartmp rc.d script.
* o Correct typo.maxim2010-08-251-1/+1
| | | | | Submitted by: Bojidara Marinchovska via -stable MFC after: 1 week
* - Change the threshold from 'running next scrub the <value+1>th day after thenetchild2010-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
* Fix silly typo on my part (s/quotas_enable/quota_enable/)dougb2010-08-141-1/+1
| | | | Submitted by: ed
* Give people some warning before removing enable_quotasdougb2010-08-141-2/+2
|
* Consistently use full pathnames for external commands.jkim2010-08-132-7/+7
|
* Do not fork a subshell unnecessarily.jkim2010-08-131-2/+2
|
* Enforce ACPI timer as the timecounter hardware before we change sleep statejkim2010-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.
* Connect the new script 490.status-pkg-changes (see r210863)olli2010-08-101-0/+4
| | | | | | | to the build, so it gets actually installed. Approved by: des (mentor) MFC after: 17 days
* - Fixes to the chkportsum script to handle better some special cases,gabor2010-08-101-9/+9
| | | | | | | like spaces in filename Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> Approved by: delphij (mentor)
* Add a daily script to the periodic framework that reportsolli2010-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
* /etc/rc.d/network_ipv6 was deprecated.ume2010-08-051-1/+0
| | | | Reported by: Alex Kozlov <spam__at__rm-rf.kiev.ua>
* /etc/rc.d/ip6fw was deprecated.ume2010-08-051-1/+0
| | | | | Reported by: Alex Kozlov <spam__at__rm-rf.kiev.ua> MFC after: 3 days
* Allow starting /etc/rc.d/ipmon if ipnat is enabled but ipfilter is notjilles2010-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
* Add a (disabled) configuration line to enable the snmp_wlan(3) module.syrinx2010-07-261-0/+6
| | | | Sponsored by: The FreeBSD Foundation
* Upgrade our Clang in base to r108428.ed2010-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
* - Add a periodic script, which can be used to find installed ports' files withgabor2010-07-193-0/+72
| | | | | | | | mismatched checksum PR: conf/124641 Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> Approved by: delphij (mentor)
* Fix spelling of "weirdo" in /etc/gettytab comment.bcr2010-07-121-1/+1
| | | | | | | PR: docs/148500 Submitted by: Warren Block (wblock at wonkity dot com) Approved by: ed@ MFC after: 1 week
* Use spaces, not tabs.pjd2010-06-281-5/+5
|
* Bring in Kris Moore's pc-sysinstall shell script from PC-BSD. Thisimp2010-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
* Remove vestiges of 'slip'.brian2010-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
* Add the AAAA address for i.root-servers.netdougb2010-06-181-2/+3
|
* - add the zfs scrub scriptnetchild2010-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>
* device.hints: do install when WITHOUT_BOOT is setavg2010-06-161-0/+2
| | | | | Discussed with: imp MFC after: 2 weeks
* Add a periodic zfs scrub script.netchild2010-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@
* Merge from tbemd, with minor tweaks:imp2010-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.
* Hook clang into the build on i386/amd64/powerpc.rdivacky2010-06-091-0/+4
| | | | Approved by: ed (mentor)
* Add a new build option, MAN_UTILS. This option lets you control buildingjkim2010-05-192-2/+2
| | | | | | | | | utilities and related support files for manual pages, which were previously controlled by MAN. For POLA, the default depends on MAN, i.e., WITHOUT_MAN implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS. This patch is slightly improved by me from: PR: misc/145212
* This change does the following for the scripts that run up throughdougb2010-05-1911-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FILESYSTEMS (the default early_late_divider): 1. Move sysctl to run first 2. Move as many BEFOREs to REQUIREs as possible. 3. Minor effect, move hostid_save from right before mdconfig to right after. A lot of the early scripts make use of sysctl one way or another so running this first makes a lot of sense given that system-critical values are often placed in sysctl.conf. My original purpose for working on this was that while doing some debugging on other stuff I noticed that the order of execution was different in the first pass through the early scripts and the second. In practice that doesn't matter because the scripts are not executed the second time. However this _can_ result in problems if the difference in the rcorder moves a script from the late section to the early section in the second pass (which would mean the script would not get executed). So, I wanted to make the order of execution of the scripts in the early section more deterministic. In the course of debugging the ordering problems I noticed that moving the BEFOREs to REQUIREs prevented the changes in order from the first pass to the second pass without having to make any substantial changes. (Of course it's no secret that I think BEFORE should be avoided as much as possible, but this is a good example of why.) Reviewed by: silence on freebsd-rc@ MFC after: 8.1-RELEASE
* Prevent unloading a kld for a driver that has subinterfaces (vlan and/orjhb2010-05-171-9/+3
| | | | | | | | | | | | | | | | | wlan interfaces) from being automatically reloaded via devd shutdown event handlers. - Revert part of my previous changes to call ifn_stop on subinterfaces when an interface is detached. It is better to destroy the interfaces first so that an 'ifconfig foo0.blah down' doesn't result in ifconfig auto-loading if_foo.ko. The ifconfig command will not be invoked if foo0.blah is gone when ifn_stop() is called. Furthermore, it is not necessary to explicitly invoke ifn_stop() after the subinterface is destroyed as devd will already do that. - Pass -n to ifconfig when destroying interfaces so that destroying a cloned interface does not kldload any drivers. Reviewed by: dougb MFC after: 4 days
* Change the commented msgs examples in profile/csh.login from -f to -q.jilles2010-05-152-4/+4
| | | | | | | | | | | Starting something that wants input on login seems strange and can be dangerous. In some configurations, causing output can be bad, but it is not as dangerous. I do not expect this msgs invocation to be uncommented often. PR: conf/96015 MFC after: 4 days
* Remove trailing white space. No functional changes.dougb2010-05-1424-62/+62
|
* Non-GCC gcc compatible compilers may provide the same multimedia intrinsicobrien2010-05-121-0/+4
| | | | | | | headers as GCC, but of their own implementation. So put the GCC ones into their own header "namespace". Requested by: ed
* Import of liblzma, xz, xzdec, lzmainfo from vendor branchmm2010-05-101-0/+2
| | | | | | | | Add support for xz and lzma to lesspipe.sh (xzless, lzless) Bump __FreeBSD_version Approved by: delphij (mentor) MFC after: 2 weeks
* Make address assignment via ipv6_prefix_IF work againdougb2010-05-041-0/+2
|
* In the case where named_chroot_autoupdate is NOT set, butdougb2010-04-281-4/+10
| | | | | | | | | | | | | | | | named_chrootdir IS set, named-checkconf fails because it cannot find the conf file. Fix this by making checkconf a variable that includes "-t $named_chrootdir" as needed. Notice of the bug and suggested direction for the fix from [1]. Using required_files for named.conf is overkill ever since I added the named-checkconf call, so rather than update the logic to handle the case described above, remove it. This also handles the case where named_chroot_autoupdate IS set but the symlink doesn't exist yet. PR: conf/145904 Submitted by: J R Matthews
* Better handling of ipv6_default_interface usingume2010-04-262-23/+13
| | | | | | | net.inet6.ip6.use_defaultzone=1. Now, it works IPv6 link-local unicast addresses as well as IPv6 link-local multicast addresses. MFC after: 1 week
* Change usb devd events from fake attach to a notify. The ugen device is not athompsa2010-04-212-71/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | proper device_t so it faked the devctl event to appear like one, this is now a notify which allows more information to be passed. We notify for both the device attach/detach and for each usb interface. A devd rule can now match on the interface properties, including composite devices which may have a uvideo interface and also usound and possibly uhid too. An example to match a umass device with a scsi subclass and BBB protocol would be notify 100 { match "system" "USB"; match "subsystem" "INTERFACE"; match "type" "ATTACH"; match "intclass" "0x08"; match "intsubclass" "0x06"; match "intprotocol" "0x50"; action ... }; The old attach devctl event has been retained for the moment to make merging to 8.1 easier. This was never compatible with 7.x or earlier due to the ugen regex change needed. Reviewed by: warner MFC after: 1 week
* indent.pro example: actually install the sample fileavg2010-04-211-0/+2
|
* Use ubthidhci_enable="NO" to avoid the bootup warning.rpaulo2010-04-171-1/+1
| | | | | Submitted by: Jilles Tjoelker <jilles@stack.nl> MFC after: 3 days
* In case a user wants to configure only an IPv6 link-local addressdougb2010-04-171-0/+1
| | | | add an example that shows how to do it.
* Add ubthidhci.rpaulo2010-04-161-0/+4
| | | | MFC after: 2 days
* If a service is running, make 'stop' work even if ${name}_enabledougb2010-04-151-3/+3
| | | | | | | | is not set. PR: conf/130414 Submitted by: Dominic Fandrey <kamikaze@bsdforen.de> Reviewed by: freebsd-rc@
* Use spaces instead of tab for indent here.pjd2010-04-151-2/+2
|
* Fix grammar in comment.ume2010-04-111-3/+3
| | | | | Submitted by: "b. f." <bf1783__at__googlemail.com> MFC after: 3 days
* Add rc.d/ubthidhci. This small script calls usbconfig(1) to change a USBrpaulo2010-04-092-0/+45
| | | | | | Bluetooth controller from HID mode to HCI mode. MFC after: 1 week
* Improve the handling of IPv6 configuration in rc.d. The ipv6_enabledougb2010-04-095-127/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and ipv6_ifconfig_<interface> options have already been deprecated, these changes do not alter that. With these changes any value set for ipv6_enable will emit a warning. In order to avoid a POLA violation for the deprecation of the option ipv6_enable=NO will still disable configuration for all interfaces other than lo0. ipv6_enable=YES will not have any effect, but will emit an additional warning. Support and warnings for this option will be removed in FreeBSD 10.x. Consistent with the current code, in order for IPv6 to be configured on an interface (other than lo0) an ifconfig_<interface>_ipv6 option will have to be added to /etc/rc.conf[.local]. 1. Clean up and minor optimizations for the following functions: ifconfig_up (the ipv6 elements) ipv6if ipv6_autoconfif get_if_var _ifconfig_getargs The cleanups generally were to move the "easy" tests earlier in the functions, and consolidate duplicate code. 2. Stop overloading ipv6_prefer with the ability to disable IPv6 configuration. 3. Remove noafif() which was only ever called from ipv6_autoconfif. Instead, simplify and integrate the tests into that function, and convert the test to use is_wired_interface() instead of listing wireless interfaces explicitly. 4. Integrate backwards compatibility for ipv6_ifconfig_<interface> into _ifconfig_getargs. This dramatically simplifies the code in all of the callers, and avoids a lot of other code duplication. 5. In rc.d/netoptions, add code for an ipv6_privacy option to use RFC 4193 style pseudo-random addresses (this is what windows does by default, FYI). 6. Add support for the [NO]RTADV options in ifconfig_getargs() and ipv6_autoconfif(). In the latter, include support for the explicit addition of [-]accept_rtadv in ifconfig_<interface>_ipv6 as is done in the current code. 7. In rc.d/netif add a warning if $ipv6_enable is set, and remove the set_rcvar_obsolete for it. Also remove the latter from rc.d/ip6addrctl. 8. In /etc/defaults/rc.conf: Add an example for RTADV configuration. Set ipv6_network_interfaces to AUTO. Switch ipv6_prefer to YES. If ipv6_enable is not set this will have no effect. Add a default for ipv6_privacy (NO). 9. Document all of this in rc.conf.5.
* Disambiguate `IPs' to a more specific term.ume2010-04-081-6/+8
| | | | | Submitted by: Garrett Cooper <yanefbsd__at__gmail.com> MFC after: 3 days
OpenPOWER on IntegriCloud