aboutsummaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
...
* Clean up, comment out non-base utilities, fix up comments.Tom Rhodes2006-04-221-34/+14
| | | | | | | Prodded by: hrs Notes: svn path=/head/; revision=157957
* After some discussion we believe that having SERVERS to REQUIRE:Xin LI2006-04-201-1/+1
| | | | | | | | | | ldconfig would provide necessary protection for named as well, so remove the dependency here. Approved by: flz Notes: svn path=/head/; revision=157902
* Make ldconfig as SERVER dependency. This makes it possibleXin LI2006-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 Notes: svn path=/head/; revision=157859
* - Move _rc_subr_loaded=: at the end of the file, to be consistent with NetBSD.Florent Thoumie2006-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 Notes: svn path=/head/; revision=157841
* - Add new ntpd_config variable so that people can override it in rc.conf.Florent Thoumie2006-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 Notes: svn path=/head/; revision=157840
* Add ldconfig to the list of requirements for named, needed to use bindFlorent Thoumie2006-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 Notes: svn path=/head/; revision=157834
* Spell synchronous with required silent 'h'.Brooks Davis2006-04-132-2/+2
| | | | | | | | Reported by: ru, ceri Pointy hat: brooks Notes: svn path=/head/; revision=157737
* Add missing _ to $_punct.Brooks Davis2006-04-131-1/+1
| | | | | | | Submitted by: Dmitry Pryanishnikov <dmitry at atlantis.dp.ua> Notes: svn path=/head/; revision=157736
* Use ps true power instead of tr/tail which aren't available early enough.Florent Thoumie2006-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) Notes: svn path=/head/; revision=157710
* Commit the various network interface configutation updates I've beenBrooks Davis2006-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] Notes: svn path=/head/; revision=157706
* Remove an inappropriate comment which is put into generatedHajimu UMEMOTO2006-04-121-1/+1
| | | | | | | | | host.conf. Someone may want to edit it later. Requested by: Rostislav Krasny <rosti.bsd__at__gmail.com> Notes: svn path=/head/; revision=157682
* Add autologin entries (al.NNN) for higher console speeds.Dag-Erling Smørgrav2006-04-111-0/+10
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=157658
* - If no pidfile has been created at startup, only stop processesFlorent Thoumie2006-04-111-4/+7
| | | | | | | | | | | | with current jid. PR: conf/93287 Submitted by: anders Approved by: cperciva (mentor) MFC after: 1 month Notes: svn path=/head/; revision=157657
* - Oops, add a missing "then".Florent Thoumie2006-04-111-1/+1
| | | | | | | Approved by: cperciva (mentor, implicit) Notes: svn path=/head/; revision=157656
* - Fix rc.d/sshd test on kern.random.sys.seeded.Florent Thoumie2006-04-111-1/+1
| | | | | | | | | | PR: conf/94377 Submitted by: dwhite Approved by: cperciva (mentor) MFC after: 1 week Notes: svn path=/head/; revision=157655
* - Fix amd startup when amd is installed from ports.Florent Thoumie2006-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 Notes: svn path=/head/; revision=157654
* - Set a two read-only variables (${prefix} and ${etcdir}). This isFlorent Thoumie2006-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 Notes: svn path=/head/; revision=157653
* - Add following global jail options, used if no jail-specific options areFlorent Thoumie2006-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 Notes: svn path=/head/; revision=157590
* - Sync rc.subr with NetBSD.Florent Thoumie2006-04-041-10/+34
| | | | | | | | | | | | - Merge some documentation bits. Reviewed by: brooks, simon (doc) Approved by: cperciva (mentor) Obtained from: NetBSD MFC after: 3 days Notes: svn path=/head/; revision=157473
* Remove redundant ike rc.d script, since we do not have an IPsec IKESimon L. B. Nielsen2006-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) Notes: svn path=/head/; revision=157221
* Harmless typo (s/overide/override/).Florent Thoumie2006-03-231-2/+2
| | | | | | | | Approved by: cperciva MFC after: 3 days Notes: svn path=/head/; revision=157048
* Add an example of how to set up a 3-wire serial terminal.Ruslan Ermilov2006-03-231-2/+17
| | | | | | | | Usually, getty(8) does the trick, but if you just need a serial console without getty(8), here's how. Notes: svn path=/head/; revision=157040
* - Replace awk parts with shell.Florent Thoumie2006-03-201-35/+64
| | | | | | | | Approved by: brooks MFC after: 2 weeks Notes: svn path=/head/; revision=156917
* Merge Perforce change 93569 from TrustedBSD audit3 branch:Robert Watson2006-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 Notes: svn path=/head/; revision=156885
* Reimplementation of world/kernel build options. For details, see:Ruslan Ermilov2006-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) Notes: svn path=/head/; revision=156813
* This script symlinks /boot/kernel to the directory that contains the kernelDag-Erling Smørgrav2006-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. Notes: svn path=/head/; revision=156808
* Reorganize /etc/rc.d/syscons and move all keyboard related settingsMaksim Yevmenkin2006-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 Notes: svn path=/head/; revision=156782
* Add missing libdata/ldconfig[32] entries.Joe Marcus Clarke2006-03-141-0/+4
| | | | | | | Approved by: portmgr (implicit) Notes: svn path=/head/; revision=156711
* Fix "make distribution" when just NO_CRYPT is defined.Ruslan Ermilov2006-03-111-1/+1
| | | | | | | | | PR: misc/94309 Submitted by: Matthias Lederhofer MFC after: 3 days Notes: svn path=/head/; revision=156567
* Fix overriding jail_list from command line.Max Khon2006-03-081-1/+3
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=156441
* Fix output and exit status when daily_mailq_shorten is set to YESMatteo Riondato2006-03-081-6/+8
| | | | | | | | PR: conf/93472 MFC after: 3 Notes: svn path=/head/; revision=156435
* Two years ago, in rev. 1.12, a typo slipped in etc/isdn/Makefile:Yaroslav Tykhiy2006-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 Notes: svn path=/head/; revision=156385
* Add new 'setkeyboard' method to the /etc/rc.d/syscons. It accepts theMaksim Yevmenkin2006-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 Notes: svn path=/head/; revision=156331
* Enhance loginfail: it will catch sshd, proftpd and su errors, as well as ↵Matteo Riondato2006-03-051-1/+1
| | | | | | | | | | | | other programs PR: conf/70973 Submitted by: Ryan Sommers" <ryans@gamersimpact.com> Approved by: philip (mentor) MFC after: 3 days Notes: svn path=/head/; revision=156312
* Add the graid3(8), gstripe(8) and gconcat(8) status scripts, default is "off".Christian Brueffer2006-03-021-0/+9
| | | | | | | Approved by: rwatson (mentor) Notes: svn path=/head/; revision=156216
* Add periodic scripts that check the status of graid3(8), gstripe(8)Christian Brueffer2006-03-024-0/+105
| | | | | | | | | and gconcat(8) devices, respectively. Approved by: rwatson (mentor) Notes: svn path=/head/; revision=156215
* Document how to change the polling interval for the 64-bit interfaceHartmut Brandt2006-02-271-0/+6
| | | | | | | counters in case an interface reports the wrong speed via if_mib. Notes: svn path=/head/; revision=156070
* Use 'ipfw list' instead of 'ipfw l', since it's deprecated (and warning isWojciech A. Koszek2006-02-261-1/+1
| | | | | | | | | | printed on system startup). Approved by: cognet (mentor) MFC after: 3 days Notes: svn path=/head/; revision=156030
* Revert previous change for now. We traditionally add a new localeXin LI2006-02-251-4/+0
| | | | | | | | | | | directory when we have 10+ ports that make use of it, and now we have only 3. This change would come back if the tt/ usage grown up to the level. Knowledge provided by: krion, kris Notes: svn path=/head/; revision=156011
* Add tt locale directory, since more and more ports create and use it.Xin LI2006-02-251-0/+4
| | | | Notes: svn path=/head/; revision=156007
* Attempt to make running the new rc in a jail more automatic byDoug Barton2006-02-201-1/+6
| | | | | | | | | | resetting of early_late_divider to a more appropriate value if the admin has not modified the default. Reviewed by: brooks Notes: svn path=/head/; revision=155866
* Make sure abi (and therefore archdep) start before SERVERS as part ofDoug Barton2006-02-193-5/+3
| | | | | | | | | | | | | | | the ongoing re-alignment of ordering that is necessary as a result of including local scripts in the base rcorder. [1] Accomplish this by removing the BEFORE's, and using REQUIRE instead. This makes the dependencies more obvious, and less susceptible to turning circular and/or nonsensical when seemingly innocent changes are made in one place and not another. Requested by: delphij [1] Notes: svn path=/head/; revision=155838
* Check if /sbin/nextboot exists before running it.Ruslan Ermilov2006-02-171-1/+3
| | | | | | | | PR: 93466 Submitted by: Mats Palmgren Notes: svn path=/head/; revision=155775
* Use example.com rather than bar.com for the system contact example.Ceri Davies2006-02-161-1/+1
| | | | | | | Requested by: glebius Notes: svn path=/head/; revision=155768
* The libwrap built with NO_INET6=yes cannot parse an IPv6 address.Hajimu UMEMOTO2006-02-161-1/+3
| | | | | | | | | | So, mention it in comment. Submitted by: Dmitry Morozovsky <marck__at__rinet.ru> MFC after: 2 days Notes: svn path=/head/; revision=155756
* Update a comment to match functionality changed in r1.39 (allow squareCeri Davies2006-02-151-0/+1
| | | | | | | | | brackets in process names). MFC after: 2 days Notes: svn path=/head/; revision=155719
* Remove vestiges of OLDCARD.Warner Losh2006-02-141-6/+0
| | | | Notes: svn path=/head/; revision=155655
* On ia64, the unaligned_print sysctl is a debugging knob under debugMarcel Moolenaar2006-02-131-3/+0
| | | | | | | | | | | and not under machdep as the behaviour is controlled by the process. When PSR.ac is set the process expects to receive a SIGBUS. Otherwise the processor or the kernel will emulate the misaligned memory access. MFC after: 3 days Notes: svn path=/head/; revision=155620
* Add a default ldconfig32_paths entry in default/rc.conf for 32-bit ↵Matteo Riondato2006-02-131-0/+1
| | | | | | | | | | | | | | compatability shared libraries. It is used by the ldconfig rc.d scripts. Document this variable in the man page PR: amd64/91571 Approved by: philip (mentor) MFC after: 3 Notes: svn path=/head/; revision=155617
* Since OLDCARD is gone from the kernel, catchup here and remove supportWarner Losh2006-02-133-73/+2
| | | | | | | from here as well. Notes: svn path=/head/; revision=155610