summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Do not unconditionally mount devfs to ${jail_devdir}/dev. First checkcsjp2005-04-301-9/+12
| | | | | | | | | to see if a prior devfs has been mounted. If no devfs is mounted on ${jail_devdir}/dev then proceed. This will prevent the stack up of multiple devfs mounts on the same mount point. Discussed with: pjd MFC after: 1 week
* To allow /etc to be as minimal as possible in a diskless setup, we needbrooks2005-04-297-373/+9
| | | | | | | | | | | | | to run initdiskless before we run rcorder on /etc/rc.d. To allow this, move /etc/rc.d/initdiskless to /etc/rc.initdiskless and run it directly from /etc/rc. Remove /etc/rc.d/preseedrandom as it is no longer necessicary (we start with entropy unblocked) and was only used by initdiskless when it was needed. Discussed on: freebsd-rc Repocopy by: peter
* X logins should be recorded in lastlog / wtmp / utmp. I have no idea whydes2005-04-281-1/+1
| | | | | | this wasn't there already... it makes much more sense this way. MFC after: 2 weeks
* Add -h to the ln command to make the -f flag actually do something.dougb2005-04-241-1/+1
| | | | | | | | | | | | Without this flag, if the symlink existed already a new symlink would be created in the source directory. While harmless if the two symlinks were the same, it nonetheless caused pointless confusion. The pathological case is that when there is an existing /etc/namedb symlink, but named_chrootdir in rc.conf pointed to a different directory, it was the symlink in /var/named that was getting updated, not the one in /etc. This led to some difficult to diagnose problems for users.
* Add startup script and default configuration file for bsnmpd.glebius2005-04-175-3/+94
| | | | Reviewed by: harti
* Do not remove logging sockets. This fixes an issue where loggingcsjp2005-04-141-0/+2
| | | | | | | | | sockets placed into prisons from the host environment get clobbered by the prison's instance of cleanvar. (assuming /etc/rc is run in the prison). Discussed with: pjd, green, cperciva MFC after: 1 week
* Document that dumpdev may be set to AUTO to dump to the first appropriatethomas2005-04-121-1/+1
| | | | swap device listed in /etc/fstab.
* The alternative suggested for /entropy as a shutdowndougb2005-04-112-6/+5
| | | | | | | | | | | | | | | save file was /var/db/entropy, which also happens to be the directory where the individual entropy files created by /usr/libexec/save-entropy are stored. Change the suggestion to be /var/db/entropy-file instead. In an error condition where the shutdown file is not created, the error message accessed a variable that doesn't exist. PR: conf/75722 Submitted by: Nicolas Rachinsky <list@rachinsky.de>
* Set CPU speed to 100% in acpi_throttle attach. This is needed for somenjl2005-04-101-2/+2
| | | | | | | | | systems that boot with this value at the lowest setting. Change the default boot config back to "leave frequency as BIOS set it". Also, fix buglet where acpi_throttle wouldn't be used if p4tcc was present but disabled by the user. MFC after: 1 week
* 'dumpon' can run before 'initrandom' so make it.obrien2005-04-051-2/+2
| | | | This gives a better chance of debugging /dev/random related panics.
* When reloading rules via rc.d/pf, flush everything but existing stateseanc2005-04-041-1/+3
| | | | | | | | | entries that way when rules are read in, it doesn't break established connections. Approved by: mlaier Reviewed by: rc MFC after: 3 weeks
* Instead of leaving the current frequency setting at whatever the BIOS setnjl2005-04-031-2/+2
| | | | | | | | on boot, force it to HIGH. This is needed for some systems which appear to boot with a low acpi_throttle setting by default. Thanks to Christian Brueffer for tracking this down on his system. MFC after: 1 day
* Add a ugidfw_load() function and fix up some of the scripting in this file.trhodes2005-04-021-6/+20
| | | | | | This will allow better integration with the ports system. Submitted by: clement
* Purge orphan catpages.ru2005-03-301-2/+2
| | | | | PR: conf/35242 Submitted by: Annihilator <annihilator.c@usa.net>
* netstart is now obsoleted by /etc/rc.d/*, not by /etc/rc.network.cperciva2005-03-261-1/+1
| | | | | Reported by: Martin Jakob, on freebsd-stable@ MFC after: 1 month
* Add mt locale directory, since more and more ports create and use it.krion2005-03-222-0/+8
| | | | | Approved by: kris MFC after: 3 days
* Remove the 'usbd' keyword (it isn't necessary for mixer). Also, usenjl2005-03-171-1/+1
| | | | | | | BEFORE instead of REQUIRE. Probably ok by: jhb MFC after: 3 days
* Start natd(8) before loading firewall rules, to give theru2005-03-161-2/+3
| | | | ipdivert.ko module a chance to load.
* Unhook the recently departed lomac file from the build.dougb2005-03-131-1/+1
| | | | Forgotten by: trhodes (the real one)
* Remove mac_lomac(4) functionality. The proper way is to use loader.conftrhodes2005-03-122-20/+0
| | | | | | or build the policy into a kernel. Approved by: rwatson
* Fix a terrible braino in last commit. Put kern.debug back to /var/log/messagesglebius2005-03-121-2/+2
| | | | and do exactly what last commit message described.
* Be consistent about the serial line terminal type.obrien2005-03-091-5/+5
| | | | CVS ----------------------------------------------------------------------
* New Ukrainian locale: uk_UA.CP1251.ru2005-03-041-0/+2
| | | | Submitted by: Alexander Peresunko
* It is sufficent to require rcconf rather than initdiskless.brooks2005-03-022-2/+2
|
* Remove stray else.brooks2005-03-021-1/+0
| | | | | Reported by: Tai-hwa Liang <avatar at mmlab dot cse dot yzu dot edu dot tw> Point hat: brooks
* Allow chkprintcap(8) to be run before lpd is started. Disabled bybrooks2005-03-023-2/+10
| | | | | | | | | | | | default for now. Default flags create missing directories. Remove comment about doing this in etc/rc.d/var. Unlike in the PR, I chose to do this in the lpd script where we reliably have /usr available. PR: conf/71488 Submitted by: RZ-FreeBSD0904 at fh-karlsruhe dot de
* If we don't have /usr/sbin/mtree, try to mount /usr. We're only likelybrooks2005-03-021-3/+12
| | | | | | | to hit this case when /usr is remote and thus hasn't been mounted (since you're supposed to have /var before mounting remote file systems). Normal machines that don't have a /var for some reason will have /usr already available because it's local.
* Remove a number of entries from the distribution target that arebrooks2005-03-021-26/+0
| | | | | | | | | automaticly created at boot. There's no need to maintain a list of files and permissions in multiple places. This also means binary updates won't stomp on log files. For the record, utmp is created in etc/rc.d/cleanvar, wtmp and lastlog in etc/rc.d/var, and the reset via etc/rc.d/newsyslog.
* - Update etc/rc.d/newsyslog to FreeBSD standards and install it.brooks2005-03-025-20/+21
| | | | | | | | | | | | | | | | | - Enable it by default, running newsyslog with -CN which creates files that have the C flag specified in /etc/newsyslog.conf. - Remove the "newsyslog -CC" call from etc/rc.d/var and the check for newsyslog. - Add the C flag to entries in /etc/newsyslog.conf that are currently installed as part of the base system. There are two effects from this change: - Users who delete default syslog files to stop logging to them will need to set newsyslog_enable=NO in rc.conf or remove the C flag from those file in /etc/newsyslog.conf or they will come back on the next boot. - Diskless systems now create the same set of files that ordinary systems have by default instead of every file in newsyslog.conf.
* - Remove the dependency of /usr/bin/touch by using "cp /dev/null <target>"brooks2005-03-011-4/+12
| | | | | | | to create /var/log/lastlog. - Also create /var/log/wtmp if missing. - Attempt to create these files unless populate_var is NO rather then only when /var is empty or populate_var=YES.
* Add rc.bsdextended. It's been tested enough.trhodes2005-03-011-1/+1
|
* Bootstrap pwd_mkdb(8) and use its new feature during "make distribute".ru2005-02-281-1/+4
|
* Step 1/2 of making "make distribute" work for cross-builds.ru2005-02-281-1/+10
|
* Install acpi includes in dev/acpica. This should later be trimmed (the pcinjl2005-02-281-0/+2
| | | | | | | bus one is not needed) and ifdef _KERNEL added. PR: kern/74215 MFC after: 1 day
* command_args is redundant.njl2005-02-271-2/+0
| | | | Submitted by: Pawel Worach
* Due to a couple complaints about C3 failing on an old Compaq Armada andnjl2005-02-271-2/+2
| | | | | a mobile Celeron, disable it by default for the release. We'll have to nail the last few cases later.
* Add rc.conf options for powerd (disabled by default) and hook the scriptnjl2005-02-262-1/+3
| | | | up to the build.
* Add an rc script for powerd(8).njl2005-02-261-0/+20
|
* Make power_profile not touch cpufreq by default.njl2005-02-261-2/+2
|
* Add the ability to specify "NONE" if the user wants no change for thenjl2005-02-261-0/+3
| | | | | | given power profile. MFC after: 1 day
* Quiet error messages if the requested sysctls are not present.njl2005-02-251-6/+6
| | | | MFC after: 1 day
* Replace "ipfw l", which is now deprecated, with "ipfw list".ssouhlal2005-02-232-2/+2
| | | | Approved by: grehan (mentor)
* Add CARP (Common Address Redundancy Protocol), which allows multipleglebius2005-02-221-1/+2
| | | | | | | | | | | | | hosts to share an IP address, providing high availability and load balancing. Original work on CARP done by Michael Shalayeff, with many additions by Marco Pfatschbacher and Ryan McBride. FreeBSD port done solely by Max Laier. Patch by: mlaier Obtained from: OpenBSD (mickey, mcbride)
* Do not print kernel debugging on console. In case of serial consoleglebius2005-02-221-1/+1
| | | | | | | | | | | | | | this can cause a really heavy load on system. Several kernel debugging messages can be triggered even remotely (e.g. bad ARP replies). Use kern.warning instead, so that really significant messages still will be printed on console. Reviewed by: current@ MFC after: 1 week Security: this change fixes a DoS condition, when default system console is serial, and box is flooded with bogus ARP packets
* Add support for cpufreq to power_profile(8). Values for on/offline cpunjl2005-02-062-6/+8
| | | | | | frequencies are specified with performance_cpu_freq and economy_cpu_freq. Of course, special values LOW and HIGH are also supported. Also, remove old throttling support.
* Add directories for GPIB supportphk2005-02-061-0/+4
|
* Add a comment which explain why we need to use special function instead ofpjd2005-01-301-0/+2
| | | | tr(1)/sed(1)/awk(1).
* Start gettys on ttyu0 and ttyu1 instead of ttya and ttyz0 now thatmarcel2005-01-301-4/+4
| | | | | | uart(4) is the default driver. MFC after: 2 weeks
* Add a reference to the periodic.conf(5) manual page.keramida2005-01-241-0/+3
| | | | Suggested by: simon
* Add a reference to rc.conf(5).keramida2005-01-241-1/+3
| | | | | PR: docs/35648 Submitted by: Gary W. Swearingen
OpenPOWER on IntegriCloud