summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* I knew there was something funny about this linedougb2011-06-221-1/+2
|
* Blah, forgot to svn add the actual script from r223310dougb2011-06-191-0/+97
|
* Add the netwait rc.d script. It waits for the specified period for thedougb2011-06-193-2/+9
| | | | | | | network to become active. PR: conf/151063 Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com>
* rc.subr: Make sure all functions are under if [ -z "${_rc_subr_loaded}" ].jilles2011-06-191-2/+2
|
* rc.subr: Eliminate a fork from check_kern_features, like r223227.jilles2011-06-191-1/+1
| | | | MFC after: 2 weeks
* Add rc.d/kld to load kernel modules after local disks are up.dougb2011-06-184-2/+56
| | | | This method is many times faster than doing it in /boot/loader.conf.
* rc.subr: Eliminate about 100 forks from the boot sequence.jilles2011-06-181-5/+5
| | | | | | | | | | | | With the current sh, placing eval in a command substitution always results in a fork(), even if it is the only command and only executes a single simple command. Therefore, avoid it where it can be avoided easily. Side effect: values starting with a hyphen and all whitespace are preserved. The values are defaults and names for rc.conf variables and messages to be given about obsolete ones. MFC after: 2 weeks
* Add WITHOUT_UTMPX switch to the build system.ed2011-06-171-2/+7
| | | | | | | | | This knob removes the tools that are exclusively used to view and maintain the databases maintained by utmpx, namely last, users, who, wtmpcvt, ac, lastlogin and utxrm. The tool w is not in this list, because it has some other functionality which is unrelated to utmpx; it is hardlinked to the uptime tool.
* Don't omit ac(8) as part of WITHOUT_ACCT.ed2011-06-171-7/+2
| | | | | | | The WITHOUT_ACCT switch is supposed to omit tools related to process accounting, namely accton and sa. ac(8) is just a simple tool that prints statistics based on data in the utx.log database. It has nothing to do with the former.
* Eliminate extraneous pipelines and tr calls.jpaetzel2011-06-151-1/+1
| | | | | Approved by: kib (mentor) MFC after: 3 days
* Minor change to force commit this file so new freebsd*.cf files aregshapiro2011-06-141-1/+0
| | | | | | built to use the new sendmail-8.14.5/cf tree. MFC after: 4 days
* Update DNSBL information (MAPS has been acquired, used a generic example)gshapiro2011-06-141-5/+3
|
* Convert the allowed characters '-', '.', and ':' in a ZFS pool name to _jpaetzel2011-06-131-1/+1
| | | | | | | | | to avoid causing errors in the shell script. Submitted by: William Grzybowski <william88@gmail.com> Approved by: kib (mentor) MFC after: 7 days Sponsored by: iXsystems
* - Remove $ipv6_gateway_enable check.hrs2011-06-111-7/+1
| | | | - Use list_net_interfaces() instead of "ifconfig -l".
* Add a helper function to check kern.features.* sysctls.hrs2011-06-112-5/+24
| | | | Discussed with: dougb
* Make three one line changes to the rc scripts so thatrmacklem2011-06-113-3/+3
| | | | | | they work with the new NFS client being the default, since the new NFS client's module name is nfscl and not nfsclient.
* Do not mark lo0 as IFDISABLED even if there is no $ifconfig_lo0_ipv6 line.hrs2011-06-061-1/+1
|
* Remove "ifconfig IF inet6 -accept_rtadv" when ipv6_gateway_enable=YES becausehrs2011-06-061-16/+10
| | | | this is no longer needed.
* No logner set an IPv4 loopback address by default in defaults/rc.conf.bz2011-05-312-9/+21
| | | | | | | | | | | | | | | | | | If not specified, network.subr will add it automatically if we have INET support (1). In network.subr only call the address family up/down functions if the respective AF is available. Switch to new kern.features variables for inet and inet6 as the inet sysctl tree is also available for IPv6-only kernels leading to unexpected results. Suggested by: hrs (1) Reviewed by: hrs Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 20 days
* Remove redundant keywords.hrs2011-05-172-2/+2
| | | | Submitted by: wxs
* network.subr: Use printf(1) builtin for hexprint function.jilles2011-05-141-26/+2
| | | | | | | | | Now that printf(1) is a shell builtin, there is no need to emulate it anymore. The external printf(1) is /usr/bin/printf and therefore may not be available in early boot. It may be faster to use printf directly but the function is useful for compatibility.
* Change the new NFS server so that it uses vfs.nfsd namingrmacklem2011-05-081-3/+3
| | | | | for its sysctls instead of vfs.newnfs. This separates the names from the ones used by the client.
* 1. If PKG_DBDIR cannot be determined from make, set the defaultdougb2011-05-051-2/+3
| | | | | | | | 2. Add the -H flag to tar in case /var/db/pkg itself is a symlink 3. Direct stderr to /dev/null to suppress the leading slash warning [1] PR: ports/156810 [1] Submitted by: Jeremy Chadwick <freebsd@jdc.parodius.com> [1]
* The security run requests unmaskable output, even if the only output is tonetchild2011-05-041-5/+6
| | | | | | | | | | | | | | | | tell that there is a separate email or that the output is logged to a file. This commit changes the return code for the non-inline case to tell that this message is not important enough and can be masked if necessary. The messages from the security checks themself are not affected by this and show up as before in the periodic security email/file. The inline case still requests to not mask the output, as with the current way of handling this there is no easy way to handle this. PR: 138692 Analysis/patch atch by: Chris Cowart <ccowart@timesinks.net> X-MFC after: on request
* Use proper return codes (valuable output, invalid config, problems).netchild2011-05-041-3/+5
| | | | MFC after: 1 week
* Upgrade to OpenSSH 5.8p2.des2011-05-041-1/+10
|
* Updated `flags' field description.ru2011-05-031-1/+1
|
* Upgrade our copy of llvm/clang to r130700, from upstream's trunk.dim2011-05-021-1/+1
|
* Rather than trusting that nothing is going to sneak in before thedougb2011-04-291-7/+4
| | | | | | | | | | | | | | | early_late_divider in the second run (and thus be skipped altogether), keep a list of the scripts run early, and use that list to skip things in the second run. This has the primary benefit of not skipping a local script that gets ordered too early in the second run. It also gives an opportunity to clean up/simplify the code a bit. Use a space-separated list rather than the more traditional colon for maximum insurance against creativity in local naming conventions. Reviewed by: brooks
* Fix module names and dependencies so the NFS clients willrmacklem2011-04-271-1/+1
| | | | load correctly as modules after r221124.
* Update the /etc/rc.d scripts for mountd and nfsd so theyrmacklem2011-04-263-17/+30
| | | | | | | | | | can use the "-o" option to force the old NFS server to run. Running the old NFS server is enabled by setting oldnfs_server_enable="YES". The scripts will only enable providing service for NFSv4 if nfsv4_server_enable="YES" is set. Reviewed by: dougb (rc)
* Create a function for the code from r192246 so that it can be used bothdougb2011-04-251-11/+15
| | | | | | | | times mount is called. Limit the automatic behavior to when AUTO is specified (as it is in etc/defaults/rc.conf) and for everything else take advantage of all of the goodness in checkyesno.
* Add svn:executable propertydougb2011-04-251-0/+0
|
* As previously advertised, remove the error message for enable_quotasdougb2011-04-231-4/+0
| | | | | | prior to 9.0-RELEASE. This change should not be MFC'ed.
* Improve the error handling for the new get_pidfile_from_conf()dougb2011-04-231-2/+6
|
* Introduce to rc.subr get_pidfile_from_conf(). It does just what it soundsdougb2011-04-234-3/+68
| | | | | | | | | like, determines the path to a pid file as it is specified in a conf file. Use the new feature for rc.d/named and rc.d/devd, the 2 services in the base that list their pid files in their conf files. Remove the now-obsolete named_pidfile, and warn users if they have it set.
* The change in r206686 to allow the stop argument to work for a servicedougb2011-04-171-1/+2
| | | | | | | | | | | | | | that is running even though not _enable'd had an annoying side effect. If the service was already started at boot time by another means when the related script came around again in rcorder it would start again, regardless of _enable, because there was a valid pid. [1] So, split the test into 2 parts, one for (!rcvar && !stop), and one for (stop && !valid_pid). This preserves the behavior from r206686 while preventing the undesired side effect. PR: conf/156427 [1] Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru> [1]
* Remove libobjc and other Objective-C related components, as these aredim2011-04-171-2/+0
| | | | | | extremely outdated, and not used by anything in the base system. Silence from: current@
* * Add the readline(3) API to libedit. The libedit versions ofobrien2011-04-051-0/+4
| | | | | | | | | | | | | | | | {readline,history}.h are in /usr/include/edit so as to not conflict with the GNU libreadline versions. To use the libedit readline(3) one should add "-I/usr/include/edit" to their Makefile (spelled "-I${DESTDIR}/${INCLUDEDIR}/edit" within the FreeBSD source tree). * Enable its use in the BSD licensed utilities that support readline(3). * To make it easier to sync libedit development with NetBSD, histedit.h is moved into libedit's directory as history shows shown we keep merging it into that location. Obtained from: NetBSD Sponsored by: Juniper Networks
* Add example devd.conf entry.trasz2011-03-301-0/+10
|
* Add startup script, to load rules from /etc/rctl.conf.trasz2011-03-302-1/+40
| | | | | Sponsored by: The FreeBSD Foundation Reviewed by: kib (ealier version)
* Remove the reference to pseudo-terminals from the description.ed2011-03-308-24/+16
| | | | | Pseudo-terminals are no longer listed in this file, since the utmpx implementation doesn't depend on ttyslot().
* Replace ${SYSCTL_W} with ${SYSCTL} in rc.d scripts, as they are identical.emaste2011-03-308-51/+51
| | | | | | This is a further clean up after r202988. SYSCTL_W is still initialized in rc.subr as some ports may still use it.
* Hook the 220.backup-pkgdb script I added to the build unconditionallydougb2011-03-272-0/+2
| | | | | | Hook up 610.ipf6denied based on MK_IPFILTER as 510.ipfdenied is now Poked by: Andrzej Tobola <ato@iem.pw.edu.pl>
* Add svn:executable property on remaining period scripts without itdougb2011-03-276-0/+0
|
* Add a daily period script to back up /var/db/pkgdougb2011-03-262-0/+54
| | | | | | | | | | The final product contains work from the originator, and Florent Thoumie <florent.thoumie@gmail.com>. The final product contains considerable re-working by me, so all responsibility for bugs rests under my pointy hat. PR: ports/145957 Submitted by: Eitan Adler <EitanAdlerList@gmail.com>
* Add the svn:executable property to the scripts that are missing itdougb2011-03-267-0/+0
|
* MFgraid/head:mav2011-03-241-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add new RAID GEOM class, that is going to replace ataraid(4) in supporting various BIOS-based software RAIDs. Unlike ataraid(4) this implementation does not depend on legacy ata(4) subsystem and can be used with any disk drivers, including new CAM-based ones (ahci(4), siis(4), mvs(4), ata(4) with `options ATA_CAM`). To make code more readable and extensible, this implementation follows modular design, including core part and two sets of modules, implementing support for different metadata formats and RAID levels. Support for such popular metadata formats is now implemented: Intel, JMicron, NVIDIA, Promise (also used by AMD/ATI) and SiliconImage. Such RAID levels are now supported: RAID0, RAID1, RAID1E, RAID10, SINGLE, CONCAT. For any all of these RAID levels and metadata formats this class supports full cycle of volume operations: reading, writing, creation, deletion, disk removal and insertion, rebuilding, dirty shutdown detection and resynchronization, bad sector recovery, faulty disks tracking, hot-spare disks. For Intel and Promise formats there is support multiple volumes per disk set. Look graid(8) manual page for additional details. Co-authored by: imp Sponsored by: Cisco Systems, Inc. and iXsystems, Inc.
* - Merge in OFED 1.5.3 from projects/ofed/headjeff2011-03-215-0/+47
|
* Add resolvconf(8) which manages resolv.conf.ume2011-03-181-0/+2
|
OpenPOWER on IntegriCloud