summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Merge Perforce change 93569 from TrustedBSD audit3 branch:rwatson2006-03-191-0/+2
| | | | | | | | | Do install sys/security/audit include files. It would be nice just to install audit_ioctl.h, but we seem only to support installing directories, so we get them all. The two not intended for extra- kernel use have !_KERNEL #error's, which should help. Obtained from: TrustedBSD Project
* Reimplementation of world/kernel build options. For details, see:ru2006-03-174-28/+30
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* This script symlinks /boot/kernel to the directory that contains the kerneldes2006-03-172-1/+26
| | | | | | you booted from, unless /boot/kernel already exists and is not a symlink. This should only affect people like me who juggle multiple kernels and have KODIR = /boot/${KERN_IDENT} in /etc/make.conf to keep them apart.
* Reorganize /etc/rc.d/syscons and move all keyboard related settingsemax2006-03-162-47/+57
| | | | | | | | | | | | | | | into one function syscons_configure_keyboard(). Call new function from both syscons_start() and sysconst_setkeyboard(). The reason for this is because syscons_start() will (re)configure both keyboard and screen settings. Apparently, some graphics cards have problems with running vidcontrol(1) while X11 is running. Remove "/etc/rc.d/syscons restart" from /etc/devd.conf. It is no longer required. Using "/etc/rc.d/syscons setkeyboard" is enough. This also should fix annoying "syscons not running?" message. Tested by: Ulrich Spoerlein < q at galgenberg dot net > MFC after: 3 days
* Add missing libdata/ldconfig[32] entries.marcus2006-03-141-0/+4
| | | | Approved by: portmgr (implicit)
* Fix "make distribution" when just NO_CRYPT is defined.ru2006-03-111-1/+1
| | | | | | PR: misc/94309 Submitted by: Matthias Lederhofer MFC after: 3 days
* Fix overriding jail_list from command line.fjoe2006-03-081-1/+3
| | | | MFC after: 3 days
* Fix output and exit status when daily_mailq_shorten is set to YESmatteo2006-03-081-6/+8
| | | | | PR: conf/93472 MFC after: 3
* Two years ago, in rev. 1.12, a typo slipped in etc/isdn/Makefile:yar2006-03-071-1/+0
| | | | | | | | | | | | a control variable was misspelled as `SCRIPTS_NAME_isdntel.sh' (should've been `SCRIPTSNAME_isdntel.sh') when the Makefile was converted to using <bsd.prog.mk>. Consequently, `isdntel.sh' has been installed as `isdntel' since then. Nevertheless, nobody has been unhappy with the change. So it's time to make it official. Approved by: hm Pointy hat to: ru MFC after: 3 days
* Add new 'setkeyboard' method to the /etc/rc.d/syscons. It accepts theemax2006-03-062-5/+22
| | | | | | | | | | | | keyboard device name (i.e. /dev/kbd0). This method will do nothing is kbdmux(4) is the current active keyboard, otherwise it will switch active keyboard as requested. Modify ukbd(4) entries in the /etc/devd.conf to use /etc/rc.d/syscons and new 'setkeyboard' method. No comments from: freebsd-current@ MFC after: 1 day
* Enhance loginfail: it will catch sshd, proftpd and su errors, as well as ↵matteo2006-03-051-1/+1
| | | | | | | | | other programs PR: conf/70973 Submitted by: Ryan Sommers" <ryans@gamersimpact.com> Approved by: philip (mentor) MFC after: 3 days
* Add the graid3(8), gstripe(8) and gconcat(8) status scripts, default is "off".brueffer2006-03-021-0/+9
| | | | Approved by: rwatson (mentor)
* Add periodic scripts that check the status of graid3(8), gstripe(8)brueffer2006-03-024-0/+105
| | | | | | and gconcat(8) devices, respectively. Approved by: rwatson (mentor)
* Document how to change the polling interval for the 64-bit interfaceharti2006-02-271-0/+6
| | | | counters in case an interface reports the wrong speed via if_mib.
* Use 'ipfw list' instead of 'ipfw l', since it's deprecated (and warning iswkoszek2006-02-261-1/+1
| | | | | | | printed on system startup). Approved by: cognet (mentor) MFC after: 3 days
OpenPOWER on IntegriCloud