summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Since NIS is an RPC based service, add a note that when adjusting accesscsjp2006-06-011-0/+1
| | | | | controls in NIS, similar access controls should be considered for the rpcbind as well.
* Add rc.d/bridge which is invoked when a new interface arrives and canthompsa2006-06-014-1/+100
| | | | | | | automaticly add it to an Ethernet bridge. This is intended for applications such as qemu, vmware, openvpn, ... which open tap interfaces and need them bridged with the hosts network adapter, the user can set up a glob for interfaces to be automatically added (eg tap*).
* Announce all interfaces to devd on attach/detach. This adds a new devctlthompsa2006-06-012-10/+12
| | | | | | | | | | | | | | notification so all interfaces including pseudo are reported. When netif creates the clones at startup devctl_disable has not been turned off yet so the interfaces will not be initialised twice, enforce this by adding an explicit order between rc.d/netif and rc.d/devd. This change allows actions to taken in userland when an interface is cloned and the pseudo interface will be automatically configured if a ifconfig_<int>="" line exists in rc.conf. Reviewed by: brooks No objections on: net
* Add jail_<jname>_exec_afterstart<N> rc.conf variable, where <N> ismatteo2006-05-302-1/+38
| | | | | | | | | | 1,2 and so on. It specifies the command to be run as Nth after jail startup. sh(1)-fu by: Dario Freni PR: conf/97697 MFC after: 2 weeks Reviewed by: ru@ (man page)
* style(9)matteo2006-05-301-12/+12
|
* Remove reference to no longer existant /etc/rc.d/pccard.brooks2006-05-301-1/+0
| | | | | PR: conf/98055 Submitted by: thierry herbelot <thierry at herbelot dot com>
* Quote the parameter to sysctl(1), allowing to use whitespaces inglebius2006-05-241-1/+1
| | | | | | | sysctl values. PR: conf/96509 Submitted by: Gregory Bond <gnb itga.com.au>
* Increase the nfs access cache timeout from 2 to 60. The latter is akris2006-05-241-1/+1
| | | | | | | | | | | more appropriate value and is also the default set by the kernel. I could not find a justification of why rc.conf began overriding it back in 1998. This dramatically cuts NFS traffic on e.g. a busy system with NFS root. Reviewed by: mohans MFC After: 2 weeks
* Correct BD_ADDR entry for "Dummy" device in the default hcsecd.conf.emax2006-05-181-1/+1
| | | | | | | Each byte in BD_ADDR should exactly two nibbles, i.e "1:2:3:4:5:6" is NOT valid and "01:02:03:04:05:06" is valid BD_ADDR. MFC after: 1 day
* Remove the require_kld function I just committed and replace with a nicer ↵flz2006-05-183-33/+4
| | | | | | | solution. Reported by: pjd Approved by: cperciva
* Add two new scripts (mdconfig/mdconfig2) to replace old ramdisk{,-own}flz2006-05-184-1/+451
| | | | | | | | | | | | | | | | | | | | scripts. These scripts handle vnode backed md(4) devices. Old ramdisk{,-own} scripts will stay a bit in CVS to allow some time for migration since variable names have changed (ramdisk_* -> mdconfig_*). Two new variables have been introduced to be able to populate the md(4) device once it has been mounted (mdconfig_*_files and mdconfig_*_cmd). Use should be as easy as: mdconfig_md0="-t malloc -s 10m" mdconfig_md1="-t vnode -f /var/foo.img" See rc.conf(5) for more information and description of the additional variables. Approved by: cperciva
* Correctly set moused_$2_enable when moused_nondefault_enable is set to NOmatteo2006-05-171-2/+1
| | | | | PR: conf/92654 MFC after: 3
* Send the pcvt(4) driver off to retirement.phk2006-05-176-275/+1
|
* Move etc/rc.firewall6 to ipfw2+v6, update related rc.d and periodic scripts.mlaier2006-05-126-205/+84
| | | | | Since ipfw2 now does dual-stack, statistics for IPv6 come from the ipfw scripts as well.
* - Change the "jail_" prefix for internal script variables. This fixes anflz2006-05-112-94/+98
| | | | | | | | | | | | | issue where some global jail_* variables were overriden in the script. [1] - Change "jid" to "jname" in rc.conf(5), since it's more a jail name than a jail id. [1] - Update examples and comments in defaults/rc.conf to advertise new variables and the fact that some of the jail-specific variables may be made jail-global. [2] Reported by: pjd [1], clsung [2] Approved by: cperciva X-MFC after: i got sufficient testing from people using rc.d/jail
* if we fail to start a jail and jail_foobar_*fs_enable or ↵matteo2006-05-111-0/+4
| | | | | | jail_foobar_mount_enable were set, umount those filesystem before exiting. If we set up an alias for jail's IP, remove that alias before exiting. MFC after: 2 weeks
* Add a /media to FreeBSD. /media is a directory designed to containmarcus2006-05-101-0/+2
| | | | | | | | | | | | subdirectories that will be used for removable media mount points (i.e. mount points for CDs, floppy disks, USB drives, etc.). While the primary purpose of /media is to provide a location for HAL (http://www.freedesktop.org/wiki/Software_2fhal) to mount volumes, it could be used by any application that needs to manage removable media volumes. Discussed on: arch@ Approved by: mux MFC after: 1 week
* if a jail fails to start, don't add its jid to /var/run and print a message ↵matteo2006-05-091-5/+10
| | | | | | | with the error. PR: conf/97024 MFC after: 1 week
* - Fix quoting.flz2006-05-081-2/+2
| | | | | Reported by: Dirk Engling <erdgeist@erdgeist.org> Pointyhat to: self
* - Check for some mandatory variables.flz2006-05-071-0/+11
| | | | | Approved by: cperciva (mentor) MFC after: 1 week
* Install /etc/nsswitch.conf statically rather than generating it atume2006-05-033-66/+17
| | | | | | | | boot. Autogeneration of nsswitch.conf doesn't makes sense in 7.0 since it's not permitted to upgrade from a pre-nss release without passing through an intermediate release. Suggested by: brooks
* Update host.conf every time nsswitch.conf changes, instead of just creatingdes2006-05-011-1/+3
| | | | | | | it if it does not exist. Submitted by: Rostislav Krasny <rosti.bsd@gmail.com> MFC after: 2 weeks
* Oops, services should be compat by default for backward compatibility.ume2006-04-291-1/+1
|
* Add newly supported databases such as services, protocols and rpcume2006-04-291-1/+5
| | | | into generated nsswitch.conf.
* - Extend the nsswitch to support Services, Protocols and Rpcume2006-04-287-0/+93
| | | | | | | | databases. - Make nsswitch support caching. Submitted by: Michael Bushkov <bushman__at__rsu.ru> Sponsored by: Google Summer of Code 2005
* Remove last vestiges of sab(4).marius2006-04-251-3/+0
|
* Correct two typos in comments.brueffer2006-04-221-2/+2
|
* Clean up, comment out non-base utilities, fix up comments.trhodes2006-04-221-34/+14
| | | | Prodded by: hrs
* After some discussion we believe that having SERVERS to REQUIRE:delphij2006-04-201-1/+1
| | | | | | | ldconfig would provide necessary protection for named as well, so remove the dependency here. Approved by: flz
* Make ldconfig as SERVER dependency. This makes it possibledelphij2006-04-191-1/+1
| | | | | | | | for some early starting services from the ports collection to have their shared objects available before start. Reviewed by: freebsd-rc (dougb, brooks) MFC After: 3 days
* - Move _rc_subr_loaded=: at the end of the file, to be consistent with NetBSD.flz2006-04-181-5/+8
| | | | | | | | | | | | - Sync with latest version from NetBSD. 'In order to handle some perl scripts running as daemons, add a pattern which also matches "`basename $interpreter`: $command" in the ps listing.' Approved by: cperciva (mentor) Obtained from: NetBSD MFC after: 1 week
* - Add new ntpd_config variable so that people can override it in rc.conf.flz2006-04-182-3/+8
| | | | | | | | - Add default value in /etc/defaults/rc.conf. - Add documentation bits to rc.conf(5). Approved by: cperciva (mentor) MFC after: 1 week
* Add ldconfig to the list of requirements for named, needed to use bindflz2006-04-181-1/+1
| | | | | | | | | | from ports. The effect is that ldconfig is now started right after mountcritremote. Everything else is left unchanged. PR: conf/68916 Submitted by: JD Bronson <jd@aurora.org> Approved by: cperciva (mentor) MFC after: 1 week
* Spell synchronous with required silent 'h'.brooks2006-04-132-2/+2
| | | | | Reported by: ru, ceri Pointy hat: brooks
* Add missing _ to $_punct.brooks2006-04-131-1/+1
| | | | Submitted by: Dmitry Pryanishnikov <dmitry at atlantis.dp.ua>
* Use ps true power instead of tr/tail which aren't available early enough.flz2006-04-131-1/+1
| | | | | | | PR: conf/95654 Submitted by: Rong-En Fan <rafan@infor.org> Noticed/Fix by: many people on freebsd-current@ Approved by: cperciva (mentor)
* Commit the various network interface configutation updates I've beenbrooks2006-04-132-22/+81
| | | | | | | | | | | | | | | | working on. 1) Make it possible to configure interfaces with certain characters in their names that aren't valid in shell variables. Currently supported characters are ".-/+". They are converted into '_' characters. 2) Replace nearly all eval statements in network.subr with a new function get_if_var which substitues an interface name (after the translations above) for "IF" in a variable name. 3) Fix list_net_interfaces() in the nodhcp case. 4) Allow the administrator to specify if dhclient should be started when /etc/rc.d/netif configures the interface or only by devd. This can be set on both a per interface and system wide basis. PR: conf/88974 [1,2], conf/92433 [1,2]
* Remove an inappropriate comment which is put into generatedume2006-04-121-1/+1
| | | | | | host.conf. Someone may want to edit it later. Requested by: Rostislav Krasny <rosti.bsd__at__gmail.com>
* Add autologin entries (al.NNN) for higher console speeds.des2006-04-111-0/+10
| | | | MFC after: 2 weeks
* - If no pidfile has been created at startup, only stop processesflz2006-04-111-4/+7
| | | | | | | | | with current jid. PR: conf/93287 Submitted by: anders Approved by: cperciva (mentor) MFC after: 1 month
* - Oops, add a missing "then".flz2006-04-111-1/+1
| | | | Approved by: cperciva (mentor, implicit)
* - Fix rc.d/sshd test on kern.random.sys.seeded.flz2006-04-111-1/+1
| | | | | | | PR: conf/94377 Submitted by: dwhite Approved by: cperciva (mentor) MFC after: 1 week
* - Fix amd startup when amd is installed from ports.flz2006-04-112-1/+2
| | | | | | | | | - Add the according amd_program default value in defaults. PR: conf/82738 Submitted by: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp> Approved by: cperciva (mentor) MFC after: 3 days
* - Set a two read-only variables (${prefix} and ${etcdir}). This isflz2006-04-112-30/+60
| | | | | | | | | | | especially useful when using /etc/rc.d scripts with third-party software installed from ports. - Fix rc.d/sshd to work with openssh from ports using ${etcdir} instead of hardcoded /etc. Reviewed by: brooks Approved by: cperciva (mentor) MFC after: 1 week
* - Add following global jail options, used if no jail-specific options areflz2006-04-081-9/+17
| | | | | | | | | | | | | | | | | | set: * jail_mount_enable * jail_devfs_ruleset * jail_devfs_enable * jail_fdescfs_enable * jail_procfs_enable * jail_fstab * jail_flags - Add a jail_interface / jail_<jid>_interface option. An ip alias will be created (jail_<jid>_ip) on jail_interface or jail_<jid>_interface if set. This is not a mandatory option. - Document all missing jail_* options in rc.conf(5). Approved by: cperciva (mentor) MFC after: 2 weeks
* - Sync rc.subr with NetBSD.flz2006-04-041-10/+34
| | | | | | | | | - Merge some documentation bits. Reviewed by: brooks, simon (doc) Approved by: cperciva (mentor) Obtained from: NetBSD MFC after: 3 days
* Remove redundant ike rc.d script, since we do not have an IPsec IKEsimon2006-03-282-20/+0
| | | | | | | | | | daemon in the base system and all the IKE daemons in the Ports Collection has their own rc.d script. OK'ed by: dougb Discussed on: freebsd-rc MFC after: 1 month Approved by: cperciva (mentor)
* Harmless typo (s/overide/override/).flz2006-03-231-2/+2
| | | | | Approved by: cperciva MFC after: 3 days
* Add an example of how to set up a 3-wire serial terminal.ru2006-03-231-2/+17
| | | | | Usually, getty(8) does the trick, but if you just need a serial console without getty(8), here's how.
* - Replace awk parts with shell.flz2006-03-201-35/+64
| | | | | Approved by: brooks MFC after: 2 weeks
OpenPOWER on IntegriCloud