summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Add an empty stop_cmd to the remaining scripts that don't startdougb2007-12-084-0/+4
| | | | daemons and don't already have one.
* Remove a meaningless KEYWORDdougb2007-12-081-1/+1
|
* Remove the bootconf.sh script. It was never used on FreeBSD, and wasdougb2007-12-081-81/+0
| | | | removed from the Makefile in version 1.5 (2002/09/02) but never GC'ed.
* Remove spurious # marks to be more consistent with existing style.dougb2007-12-084-4/+0
|
* Remove empty REQUIRE linedougb2007-12-081-1/+0
|
* Remove $NetBSD$ CVS tags. We no longer attempt to synch our rc.d filesdougb2007-12-0855-55/+0
| | | | | with theirs, so this information doesn't need to be in the live file. Having it in our CVS history is enough.
* Add /root/, /.cshrc, and /.profile to the default UpdateIfUnmodifiedcperciva2007-11-281-1/+1
| | | | | | | directive. Users get irritated if FreeBSD Update steps on these while upgrading to a new release. MFC after: 3 days
* Don't delete files in the X11 socket directories under /tmp (.X11-unix,jhb2007-11-281-1/+3
| | | | | | | | | .ICE-unix, .font-unix, .XIM-unix) when purging files from /tmp via the daily 100.clean-tmps job. If you are logged into an X session longer than the timeout period (default of 3 days), then this job can delete the X11 sockets out from under the session without this fix. MFC after: 3 days
* Update the shlib version for libgssapi_krb5. This file needs to be updatedjhb2007-11-271-1/+1
| | | | | | anytime that library version is bumped. XXX: I wonder if this breaks any 6.x binaries using Kerberos5 via GSSAPI.
* Also check setuid executables on ZFS.ru2007-11-231-1/+1
|
* Bump up the number of ttys supported by pty(4) to 512 by making use ofjhb2007-11-196-0/+1536
| | | | | | | [pt]ty[lmnoLMNO][0-9a-v]. MFC after: 3 days Reviewed by: rwatson
* Add ttys lines for pts/0-pts/255.rwatson2007-11-156-0/+1536
| | | | MFC after: 3 days
* Add reload functionality.brix2007-11-141-1/+3
| | | | | PR: conf/116659 Approved by: sam, erwin (mentor)
* Add support for "freebsd-update -r newrelease upgrade" -- binarycperciva2007-11-121-1/+11
| | | | | | | | | | | | | | | | | | | upgrading to new releases. Important parts of this code include * automatically determining which optional components (e.g., src, info, proflibs) are installed. * merging changes in files which are modified locally and have changed between the currently running and new release. * prompting the user to rebuild all 3rd party software before deleting old shared libraries. Yes, this is compatible with "freebsd-update rollback" -- you can test a new -BETA and roll back to the old release if you don't like it. Subject to re@ approval, this will be MFCed before 7.0-BETA3 and 6.3-RC1. MFC after: 2 days
* Update pf examples from OpenBSD to catch up with new stateful defaults andmlaier2007-11-112-84/+1
| | | | other syntax changes. Move pf.conf from /etc to examples, too.
* spaces are preferred to tabssam2007-11-101-4/+4
| | | | Noted by: simon
* add wpa_supplicant + hostapd directories to examplessam2007-11-101-0/+4
| | | | MFC after: 1 week
* Link wpi(4) into the build.benjsc2007-11-081-0/+2
| | | | | | | | | | This includes: o mtree (for legal/intel_wpi) o manpage for i386/amd64 archs o module for i386/amd64 archs o NOTES for i386/amd64 archs Approved by: mlaier (comentor)
* Another vestige of OLDCARD that needs to be retired.imp2007-11-082-2356/+1
| | | | Prodded by: jhb@
* Change wpa_supplicant to down the interface at the start of the init routine.thompsa2007-11-051-3/+0
| | | | | | | | | | | | | | | | | | wpa_supplicant expects that it has exclusive access to the net80211 state so when its starts poking in the WEP/WPA settings and the card is already scanning it can cause net80211 to try and associate incorrectly with a protected AP. This is an inconvenience for firmware based cards such as iwi where it can be sent an auth instruction with incomplete security info and cause a firmware error. Remove the 'ifconfig up' from network.subr since wpa_supplicant will immediately down the interface again. Reported by: Guy Helmer (and others) Reviewed by: sam, brooks, avatar MFC after: 3 days
* Update to the 1 November 2007 version of this file. The changedougb2007-11-021-3/+3
| | | | | is to the address of l.root-servers.net, which is moving to a new /24 in order to enable anycast routing down the road.
* Add support for `make -nn' dry runs to this makefile. Basically,yar2007-10-291-16/+16
| | | | | | | it's just a matter of adding a `${_+_}' prefix before each submake invokation. This allows a dry run to proceed down to, but not including, leaf commands. (See <sys.mk> for how ${_+_} is set depending on the number of -n flags.)
* Nuke rc.d/nfslocking which has been superceeded by rc.d/{lockd,statd}mtm2007-10-252-64/+1
|
* Remove unnecessary whitespacemtm2007-10-251-1/+1
|
* 1. Determine the location of the rndc* binaries relative to $commanddougb2007-10-221-14/+22
| | | | | | | | | | | | | | | | | | | | so that when using named from the ports (or elsewhere) the proper rndc* commands will be run. 2. Rework the stop routine using ideas from brooks and delphij. Specifically I am duplicating a lot of code from rc.subr's stop routine so that this one will behave more like the one in rc.subr, but use rndc to kill the daemon (or regular kill if that fails). This also avoids the problems related to using killall if rndc fails, which is bad if you're running more than one named on the same box. 3. Take a concept from gshapiro and allow the rndc.key file to be owned by root OR the named_uid user. Although I used different solutions, this commit handles issues raised in: PR: conf/73929 PR: conf/103976 PR: conf/109409
* The amd_map_program knob can potentially contain a command whose outputmtm2007-10-191-2/+3
| | | | | | | | | | | | | | | | is then used as an argument to the amd program. This outpu may contain newlines, but the script did not take care to strip those newlines before apending it to rc_flags. Revision 1.72 of rc.subr(8) introduced changes that exposed this problem (specifically putting the final eval'ed command in quotes).[1] Also, for correctness' sake, shell directives appended to the command-line by the script should go into command_args, and not appended directly to rc_flags. Reported by: John E Hein <jhein@timing.com> [1] Tested by: John E Hein <jhein@timing.com> MFC after: 1 week
* Partial backout of rev. 1.6, but instead of putting kerberos5_server_flagsmtm2007-10-191-0/+1
| | | | back in command_args, put it where rc.subr(8) expects it: kerberos5_flags.
* Teach /etc/rc.d/ppp how to start/stop individual instancesemax2007-10-181-3/+36
| | | | | | | | of ppp. This is an extension of previous commit. Submitted by: Yuri Kurenkov < y dot kurenkov at init dot ru > Reviewed by: mtm MFC after: 3 days
* Removing obsolete etc/cached.conf.bushman2007-10-181-12/+0
| | | | Approved by: brooks (mentor)
* Forced commit to note cached.conf -> nscd.conf repocopy. etc/Makefilebushman2007-10-181-1/+1
| | | | | | changed accordingly. Approved by: brooks (mentor)
* Backout sensors framework.netchild2007-10-155-71/+2
| | | | | Requested by: phk Discussed on: cvs-all
* Import OpenBSD's sysctl hardware sensors framework.netchild2007-10-145-2/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit includes the following core components: * sample configuration file for sensorsd * rc(8) script and glue code for sensorsd(8) * sysctl(3) doc fixes for CTL_HW tree * sysctl(3) documentation for hardware sensors * sysctl(8) documentation for hardware sensors * support for the sensor structure for sysctl(8) * rc.conf(5) documentation for starting sensorsd(8) * sensor_attach(9) et al documentation * /sys/kern/kern_sensors.c o sensor_attach(9) API for drivers to register ksensors o sensor_task_register(9) API for the update task o sysctl(3) glue code o hw.sensors shadow tree for sysctl(8) internal magic * <sys/sensors.h> * HW_SENSORS definition for <sys/sysctl.h> * sensors display for systat(1), including documentation * sensorsd(8) and all applicable documentation The userland part of the framework is entirely source-code compatible with OpenBSD 4.1, 4.2 and -current as of today. All sensor readings can be viewed with `sysctl hw.sensors`, monitored in semi-realtime with `systat -sensors` and also logged with `sensorsd`. Submitted by: Constantine A. Murenin <cnst@FreeBSD.org> Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors) Mentored by: syrinx Tested by: many OKed by: kensmith Obtained from: OpenBSD (parts)
* Teach /etc/rc.d/ppp to start multiple instances of ppp.emax2007-10-122-9/+49
| | | | | | | | | | | ppp_profile variable can now contain multiple profiles. Overrides for ppp mode and nat can go into ppp_$profile_mode and ppp_$profile_nat variables respectively. If those are not specified, defaults from ppp_mode and ppp_nat are used. Submitted by: Yuri Kurenkov < y dot kurenkov at init dot ru > Reviewed by: mtm MFC after: 1 week
* Add pts/pty to the un-hidden devices for logins. This un-breakscsjp2007-10-121-0/+2
| | | | | | | | logins to jailed environments when the system is using PTS style ptys (kern.pts.enable=1). Discussed with: rwatson MFc after: 1 week
* Deprecate use of the early.sh script as advertised when the support fordougb2007-10-091-0/+3
| | | | | | | | | | | | | | local rc.d scripts in the overall boot order was added. Proper rc.d scripts are run by rc.subr in a subshell, whereas scripts that end in .sh are sourced into rc's shell. The latter has potential to create serious boot problems, and there is no reason that the same functionality cannot be added by the user in the form of a proper rc.d script (as opposed to being added by the user in the form of /etc/rc.early). This script will be removed prior to the 8.0 branch. Approved by: re (kensmith)
* Remove pre-rc.d compatibility shims that were added before the 5.0 branchdougb2007-10-091-16/+0
| | | | | | | | | | for pre-5.0 variable names. Remove two dhcp compatibility variables added after the 5.1-RELEASE. Remove the now-unused support for these shims. Approved by: re (kensmith)
* Sort as per README.ru2007-10-033-28/+28
| | | | Approved by: re (kensmith)
* Removed "tail +5" from the command used to sanity check changes toru2007-10-031-1/+1
| | | | | | | mtree files -- the 5-line header is no longer printed when mtree(8) is run with -n (as of mtree/create.c,v 1.34). Approved by: re (kensmith)
* Removing obsolete cached files after cached->nscd renaming.bushman2007-10-021-32/+0
| | | | Approved by: re (kensmith), brooks (mentor)
* Finishing renaming of cached into nscd. etc/rc.d and usr.sbin/Makefilebushman2007-09-283-6/+26
| | | | | | updated. Note added to UPDATING. Approved by: re (kensmith, bmah), brooks (mentor)
* Bring in the GEOM Virtualisation class, which allows to create huge GEOMpjd2007-09-231-0/+2
| | | | | | | | | providers with limited physical storage and add physical storage as needed. Submitted by: Ivan Voras Sponsored by: Google Summer of Code 2006 Approved by: re (kensmith)
* Use the udp protocol in favor of the nonexistant upd protocol in thebrooks2007-09-211-1/+1
| | | | | | | | sge_execd entry. Reported by: emaste Pointy hat to: brooks Approved by: re (kensmith)
* Add IANA assigned iscsi-target port as its the default portmr2007-09-081-0/+2
| | | | | | according RFC 3720. Approved by: re (bmah)
* Add the startup script for ftp-proxy(8) to the Makefile as well.mlaier2007-09-071-1/+1
| | | | | Approved by: re (bmah - implicit) Reminded by: mtm
* Add a startup script for ftp-proxy(8) now that it is no longer started asmlaier2007-09-062-0/+19
| | | | | | | | part of inetd(8). Approved by: re (bmah) Reviewed by: freebsd-rc (a while back) Reminded by: kevlo
* Add service entries for Sun Grid Engine's qmaster and execution servicebrooks2007-09-061-0/+4
| | | | | | | as per IANA assignments to simplify the installation of the sysutils/sge port. Approved by: re (bmah)
* Start lockd after statd.mtm2007-09-031-1/+1
| | | | | Approved by: re (bmah) Noticed by: Ted Faber <faber@ISI.EDU>
* sleep 2 seconds after having loaded g_uzip.ko. We need this becausematteo2007-08-251-0/+2
| | | | | | | | otherwise the /dev/mdX.uzip won't be created immediately, which is needed because we issue a mount right afterwards. Approved by: re@ (bmah@) MFC after: 2 days
* My forced commit to note the repo-copy (naturally) changed the $FreeBSD$ ↵mtm2007-08-182-10/+22
| | | | | | | | | | keyword line, so that when I applied the patch to my check-in tree the top half of my patch failed to apply. Off course I saw what I *expected* to see (the bottom half succeeded) and didn't notice that it had failed to apply cleanly. Approved by: re (bmah)
* The rc.d/nfslocking file controls two servers: rpc.statd and rpc.lockd. It ↵mtm2007-08-174-57/+7
| | | | | | | | | | | | | | | | | worked well in most cases, except one. The 'restart' case was not working as expected. Specifically, it would stop both lockd and statd, but it would restart only statd (which appears first in the script). This is because rc.subr(8) contains code to guard against infinite recursion in the 'restart' casae. To fix this use the traditional approach of controlling only one server from one script by breaking out rc.d/nfslocking into its contituent parts: rc.d/lockd and rc.d/statd. Keep rc.d/nfslocking around but don't include it in the boot rcorder(8)ing. PR: conf/107316 Approved by: re (bmah) MFC after: 2 weeks
OpenPOWER on IntegriCloud