summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Fix a typo.hrs2014-10-201-1/+2
| | | | Spotted by: O. Hartmann
* - Honer MK_KERBEROS for Heimdal rc.d scripts.hrs2014-10-191-4/+11
| | | | - Add rc.c/kerberos to OLD_FILES.
* Add support of "/{udp,tcp,proto}" suffix into $firewall_myservices, whichhrs2014-10-171-3/+20
| | | | | | | | | | interpreted the listed items as port numbers of TCP services. A service with no suffix still works and recognized as a TCP service for backward compatibility. It should be updated with /tcp suffix. PR: 194292 MFC after: 1 week
* HYPERV isn't available on all architectures, but just on by defaultimp2014-10-161-4/+3
| | | | | | | | for i386/amd64. Rather, it only works on i386/amd64 and should only be built there. Rather than change the default based on which architecutre, do things more directly by only building it on i386/amd64 and having it always on. This is how we handle other options that are relevant only for a few architectures.
* s/-/_/ in name.hrs2014-10-121-1/+1
|
* Add an AC line monitor so power_profile can workjhibbits2014-10-121-1/+7
| | | | | | | | | | | | | | | | | | | Summary: Add a polling loop (1Hz) to monitor the battery and AC status, to notify devd like ACPI does for power monitoring. This allows /etc/rc.d/power_profile to work on PowerPC laptops Test Plan: Tested on a Titanium PowerBook, configuring economy_cpu_freq and performance_cpu_freq, disabling powerd. Reviewers: #powerpc, nwhitehorn Reviewed By: nwhitehorn Subscribers: rpaulo Differential Revision: https://reviews.freebsd.org/D937
* Add env and prepend to _rc_namevarlist.hrs2014-10-121-1/+1
|
* Add ${name}_env and ${name}_prepend. ${name}_env is an argument list whichhrs2014-10-111-1/+11
| | | | | will be passed to env(1). ${name}_prepend is simply prepended to the command line for $command.
* Rename s/network/netif/ and set netif_enable for namespace consistency.hrs2014-10-112-15/+17
|
* Add example devd configuration file for USB printers.hselasky2014-10-092-1/+19
|
* Integrate usr.bin/gzip/tests from NetBSD into atf/kyuangie2014-10-091-0/+2
| | | | Sponsored by: EMC / Isilon Storage Division
* Integrate usr.bin/diff/tests from NetBSD into atf/kyua at gnu/usr.bin/diff/testsngie2014-10-091-0/+2
| | | | Sponsored by: EMC / Isilon Storage Division
* Integrate usr.bin/grep/tests from NetBSD into atf/kyuangie2014-10-091-0/+2
| | | | Sponsored by: EMC / Isilon Storage Division
* Integrate usr.bin/cut/tests from NetBSD into atf/kyuangie2014-10-091-0/+2
| | | | Sponsored by: EMC / Isilon Storage Division
* Integrate bin/sleep/tests from NetBSD into atf/kyuangie2014-10-091-0/+2
| | | | Sponsored by: EMC / Isilon Storage Division
* Integrate usr.bin/dirname/tests from NetBSD into atf/kyuangie2014-10-091-0/+2
| | | | | In collaboration with: pho, sjg Sponsored by: EMC / Isilon Storage Division
* Integrate usr.bin/cmp/tests from NetBSD into atf/kyuangie2014-10-091-0/+2
| | | | | In collaboration with: sjg Sponsored by: EMC / Isilon Storage Division
* Integrate usr.sbin/basename/tests from NetBSD into atf/kyuangie2014-10-091-0/+2
| | | | | In collaboration with: pho Sponsored by: EMC / Isilon Storage Division
* Set the autoindent to 4 spaces with vim in BSD.tests.distngie2014-10-091-0/+2
| | | | | | | | This will prevent vim users from accidentally checking in buggy mtree files (mixed tabs/spaces). MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Integrate usr.sbin/nmtree/tests from NetBSD into atf/kyuangie2014-10-091-0/+2
| | | | | In collaboration with: pho Sponsored by: EMC / Isilon Storage Division
* - Add a test for bug 191427 where pw(8) will go into an infinite loopbrd2014-10-021-0/+2
| | | | | Reviewed by: will MFC after: 1 month
* Resurrect set_rcvar() as a function to define a rc.conf variable.hrs2014-10-021-5/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | It defines a variable and its default value in load_rc_config() just after rc.conf is loaded. "rcvar" command shows the current and the default values. This is an attempt to solve a problem that rc.d scripts from third-party software do not have entries in /etc/defaults/rc.conf. The fact that load_rc_config() reads rc.conf only once and /etc/rc invokes the function before running rc.d scripts made developers confused for a long time because load_rc_config() just before run_rc_command() in each rc.d script overrides variables only when the script is directly invoked, not from /etc/rc. Variables defined in set_rcvar are always set in load_rc_config() after loading rc.conf. An rc.d script can now be written in a self-contained manner regarding the related variables as follows: --- name=foo rcvar=foo_enable set_rcvar foo_enable YES "Enable $name" set_rcvar foo_flags "-s" "Flags to $name" ... load_rc_config $name run_rc_command "$@" ---
* Regenerate usb.confhselasky2014-09-281-13/+115
| | | | MFC after: 3 days
* Revised to better point to release notes and errata, security advisories,wblock2014-09-251-7/+7
| | | | | | and be more specific about the -questions list. MFC after: 3 days
* Don't install /etc/rc.d/keyserv unless MK_OPENSSL == yesngie2014-09-231-1/+4
| | | | Sponsored by: EMC / Isilon Storage Division
* Remove settings for pkg_* scripts which are no longer present.markj2014-09-231-8/+0
| | | | MFC after: 1 week
* The new naming scheme for keymap files for use with vt(4) introduced ase2014-09-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | collision for "no" as a country code with "NO" meaning "do not load any keymap" (which also has been the default value in etc/defaults/rc.conf for a long time). The result of this collision is, that "kbdcontrol -l no" will load the Norwegian keymap, while "keymap=no" in rc.conf was interpreted as the lower case spelling of "NO" meaning "no keyboard" (and "no.kbd" was not loaded). Fix this by matching only the upper-case spelling "NO" in rc.d/syscons when deciding whether to load a keymap file. This will lead to "no.kbd" being loaded, if the until now valid (but non-default) spelling "no" was used in an individual rc.conf file to mean "no keyboard". But all alternatives I could think of introduce a larger violation of POLA ... Reported by: Gyrd Thane Lange (gyrd-se at thanelange.no) MFC after: 3 days
* Register /usr/tests/lib/libproc to fix build.jmmv2014-09-221-0/+2
| | | | Missed in r271937, reviewed in D710.
* Add unit tests for mkimg(1):marcel2014-09-201-0/+2
|
* Don't install /etc/rc.d/ftp-proxy unless MK_PF == yesngie2014-09-201-1/+4
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Don't install /etc/rc.d/rwho unless MK_RCMDS == yesngie2014-09-201-1/+4
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Sort the optional rc.d scripts by their knobsngie2014-09-201-11/+11
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Fix cdev. It is a device node name, not a pathname.hrs2014-09-191-2/+2
|
* Fix incremental builds involving non-root users with read-only source files.will2014-09-181-2/+2
| | | | | | | | | | | Makefiles should not assume that source files can be overwritten. This is the common case for Perforce source trees. This is a followup commit to r211243 in the same vein. MFC after: 1 month Sponsored by: Spectra Logic MFSpectraBSD: r1036319 on 2014/01/29, r1046711 on 2014/03/06
* Use a devd event to start hv_kvpd instead of doing so in rc.d script.delphij2014-09-175-23/+23
| | | | | | | | This is cleaner and eliminates the unneeded startup of KVP daemon on systems that do not run as a Hyper-V guest. Submitted by: hrs X-MFC-with: 271493, 271688, 271699
* Such typo, many email, very spelling. wow.sbruno2014-09-161-1/+1
| | | | | | | MFC with 271688 271493 Submitted by: ngie ian MFC after: 2 weeks Relnotes: yes
* Add proper disable/enable hooks to the default scripts so that this is onlysbruno2014-09-162-0/+3
| | | | | | | | | | | | | run when asked for by the user. Right now, hv_kvpd is run on every boot. Don't do that. Add hv_kvpd_enable= for this script to be run. MFC with 271493 MFC after: 2 weeks Relnotes: yes
* Fix a typo; master server for iprop service should be singular.hrs2014-09-162-4/+4
|
* Make net.inet.ip.sourceroute, net.inet.ip.accept_sourceroute, andhrs2014-09-151-15/+13
| | | | | | net.inet.ip.process_options vnet-aware. Revert changes in r271545. Suggested by: bz
* Do not set net.inet.ip.{sourceroute,accept_sourceroute} in a vnet jail.hrs2014-09-132-13/+31
| | | | | | | The following warnings were displayed: sysctl: net.inet.ip.sourceroute=0: Operation not permitted sysctl: net.inet.ip.accept_sourceroute=0: Operation not permitted
* Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft,delphij2014-09-134-0/+24
| | | | | | | | | | | | | | many thanks for their continued support of FreeBSD. While I'm there, also implement a new build knob, WITHOUT_HYPERV to disable building and installing of the HyperV utilities when necessary. The HyperV utilities are only built for i386 and amd64 targets. This is a stable/10 candidate for inclusion with 10.1-RELEASE. Submitted by: Wei Hu <weh microsoft com> MFC after: 1 week
* Update motd, clarifying the information and adding pointers to otherwblock2014-09-111-17/+13
| | | | | | resources. MFC after: 3 days
* - Add $netif_ipexpand_max to specify the upper limit for the number ofhrs2014-09-112-7/+6
| | | | | | | | | | addresses generated by an address range specification. The default value is 2048. This can be increased by setting $netif_ipexpand_max in rc.conf. - Fix warning messages when an address range spec exceeds the upper limit. PR: 186841
* Don't cross mount boundaries when cleaning tmp files.bdrewery2014-09-091-2/+2
| | | | | | | | Mounting something in /tmp such as a build jail with nullfs mounts for some directories can result in very surprising results the next day. MFC after: 2 weeks Relnotes: yes
* Revert r271257 after several issues were pointed out. An updated patchdes2014-09-082-13/+14
| | | | will be committed at a later date.
* Use the correct idiom for default values, and ensure that the scriptdes2014-09-082-14/+13
| | | | | | | | works correctly if the user overrides them. PR: 193255 Submitted by: hrs@ MFC after: 3 days
* Temporarily remove the warning added r270781 - it prints the warningpeter2014-09-081-2/+0
| | | | | regardless of whether the usage is correct or not and this generates a LOT of noise, even when you have specified a mask.
* Fix a bug which prevented mount.fstab parameter from being convertedhrs2014-09-041-4/+4
| | | | | | when jail_JID_devfs_enable=NO. Spotted by: peter
* Fix typo: s/_maske/_mask/gjb2014-09-041-1/+1
| | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation
* Create a /boot/dtb directory to house DTB blobs. The flattened deviceimp2014-09-031-0/+2
| | | | | | | | | | | tree support includes a device tree source compiler dtc(8) which converts .dts files into .dtb files. /boot/loader will load dtb files from this directory by default, allowing for fewer differences between images for different SoCs. Compiled dts files will wind up here eventually as an alternative to embedding them into the kernel. Document this in hier(7), as well as add missing entries for /boot/firmware and /boot/zfs, though the latter two should only be considered place holders if someone wants to make them better.
OpenPOWER on IntegriCloud