summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Welcome to a default installed /etc/ntp.confedwin2009-06-072-0/+63
| | | | | | | | | | | | | | | | This NTP configuration file points to the [012].pool.ntp.org servers, which will return a list of geographical local NTP servers. It uses the best-practice options of "iburst" and "maxpoll 9". It gives examples on how to use the "restrict" commands, which are unfortunately not working when you use the pool.ntp.org servers. It sets up a fudge server so any clients syncing against this server will always be synced even if we lose the master. The idea of this file was briefly discussed on -net. PR: conf/58595 Submitted by: Chris Stenton <jacs@gnome.co.uk> MFC after: 1 week
* Add support for the experimental nfs subsystem to the scripts inrmacklem2009-06-026-11/+75
| | | | | | | | | | | | | | /etc/rc.d. They use the following new rc variables: nfsv4_server_enable - set to "YES" to run the experimental server nfsuserd_enable - set to "YES" to run nfsuserd for NFSv4 client and server nfsuserd_flags - command line flags for nfsuserd nfscbd_enable - set to "YES" to run the experimental nfs client's NFSv4 callback daemon nfscbd_flags - command line flags for nfscbd Reviewed by: dougb Approved by: kib (mentor)
* Rather than using both -prune (which requires directory-first tree traversal)brian2009-06-021-4/+4
| | | | | | | | | | | | and -delete (which implies depth-first traversal), avoid using -delete in favour of -execdir. This has a side-effect of not removing directories that contain files, even if we delete all of those files, but IMHO that's a better option than specifying all possible local filesystem types in this script. PR: 122811 MFC after: 3 weeks
* Eliminate the warning that "Values of network_interfaces other thandougb2009-06-011-4/+0
| | | | | | AUTO are deprecated.' There is no good reason to deprecate them, and setting this to different values can be useful for custom solutions and/or one-off configuration problems.
* Make the pf and ipfw firewalls start before netif, just like ipfilterdougb2009-06-0110-11/+7
| | | | | already does. This eliminates a logical inconsistency, and a small window where the system is open after the network comes up.
* Substitute ypset for ypbind in REQUIRE lines. If you use ypset it has todougb2009-06-015-5/+5
| | | | | | | | happen right after ypbind, and before anything that uses NIS. The only change in rcorder accomplished by this patch is make that happen. PR: conf/117555 Submitted by: John Marshall <john@rwsrv05.mby.riverwillow.net.au>
* Small cleanup, add (spurious) quotation marks around the valuedougb2009-05-304-4/+4
| | | | for name= to make these scripts consistent with the rest.
* Now that the last of the *.sh scripts are gone from the base,dougb2009-05-301-2/+2
| | | | emit a warning if come across one.
* As previously advertised, remove this script prior to the 8.0 branch.dougb2009-05-302-19/+1
|
* Update this script so that it handles different ruleset failuresbrian2009-05-281-8/+12
| | | | | | | | | | differently. The output now shows the ruleset and shortens to slightly different text (using $daily_status_mail_rejects_shorten), but it should be more descriptive. PR: 35018 Inspired by: Mikhail Teterin - mi at aldan dot algebra dot com MFC after: 3 weeks
* Delete the old USB stack. The new stack has settled in and has all thethompsa2009-05-271-6/+0
| | | | drivers/functionality and then some.
* Further idmapd garbage collection -- remove rc.d Makefile reference andrwatson2009-05-222-3/+1
| | | | | | default settings. Submitted by: Pawel Worach <pawel.worach at gmail.com>
* Remove the unmaintained University of Michigan NFSv4 client from 8.xrwatson2009-05-221-18/+0
| | | | | | | prior to 8.0-RELEASE. Rick Macklem's new and more feature-rich NFSv234 client and server are replacing it. Discussed with: rmacklem
* Modify src/etc/mtree/BSD.include.dist and src/include/Makefilermacklem2009-05-211-0/+2
| | | | | | | | | | | | | | | | | so that the .h files in src/sys/fs/nfs will be installed under /usr/include/fs/nfs. This will allow the following utilities to build, once additions and changes for the experimental nfs subsystem are committed: usr.sbin/mountd - Once modified to add support for the experimental nfs subsystem. ur.sbin/nfsstat - Once modified to add support for the experimental nfs subsystem. usr.sbin/nfscbd - The client side callback daemon for NFSv4. usr.sbin/nfsuserd - The NFSv4 user/group name<->uid/gid mapping daemon. usr.sbin/nfsdumpstate - The NFSv4 utility for dumping open/lock state. usr.sbin/nfsrevoke - The sysadmin command for revoking NFSv4 state. Approved by: kib (mentor)
* - do not create and mount new file systems on top of the old ones on everydanger2009-05-171-2/+4
| | | | | | | invocation of this script once we already have one (in case tmpmfs="YES"). Reviewed by: dougb
* 1. New feature; option to have the script loop until a specified hostnamedougb2009-05-163-7/+116
| | | | | | | | | | | | (localhost by default) can be successfully looked up. Off by default. 2. New feature: option to create a forwarder configuration file based on the contents of /etc/resolv.conf. This allows you to utilize a local resolver for better performance, less network traffic, custom zones, etc. while still relying on the benefits of your local network resolver. Off by default. 3. Add named-checkconf into the startup routine. This will prevent named from trying to start in a situation where it would not be possible to do so.
* Trim trailing whitespace from the end of a linedougb2009-05-161-1/+1
|
* o Add missed semicolon in action script.maxim2009-05-161-1/+1
| | | | | | PR: conf/134579 Submitted by: Lucius Windschuh MFC after: 1 week
* Set crashinfo_enable to "YES" by default.rodrigc2009-05-141-1/+1
| | | | | | | | | | | During bootup, if /etc/rc.d/savecore detects a core dump file on the dump device, the core file will be saved, and the crashinfo script will be run to generate a human-readable report. This will make it easier for end-users to provide feedback to developers about kernel crashes. Reviewed by: jhb
* Added (pre|post)(start|stop) jail hooks. These can be used to runru2009-04-281-2/+108
| | | | | | | | arbitrary commands (outside the jail) associated with said events, e.g. to bring up/down CARP interfaces representing services run in jails. Reviewed by: simon
* - Add ipfw_nat to the list of required modules if "firewall_nat_enable"emax2009-03-301-2/+12
| | | | | | | | | | is set and "natd_enable" is NOT set; - Accept and pass firewall type to the external firewall script. Submitted by: Yuri Kurenkov < y -dot- kurenkov -at- init -dot- ru > MFC after: 3 days No response from: freebsd-rc
* Add the URL for RFC2142gshapiro2009-03-231-0/+1
| | | | PR: conf/127510
* Add /usr/include/pcap (new in libpcap 1.0.0).rpaulo2009-03-221-0/+2
|
* Add hostid to the ranks.des2009-03-191-0/+1
| | | | MFC after: 2 weeks
* Revert r188010. When dhclient is backgrounded, services such as ntpdate,des2009-03-191-1/+1
| | | | | | | | | | | | sendmail / postfix etc. may fail to start because DNS is unavailable and / or the server is unreachable. In the worst case, the machine may become unusable. Debugging this issue was far more difficult than it should have been, due to earlier changes to the rc framework to hide almost all useful information about the boot process. Approved by: silence
* Add support for setting the debug flags on wlan interfaces after the arebrooks2009-03-132-1/+10
| | | | created using wlandebug_<ifn> variables.
* Backout previous commit due to PEBKACguido2009-03-111-1/+1
|
* When swap resides on a mirror and it is not stopped, the mirrorguido2009-03-101-1/+1
| | | | | is degraded upon the next reboot and will have to be rebuild. Thus call swapoff when rebooting (read: when stopping swap1)
* Install the old usb headers under /usr/include/legacy/dev/usb as they arethompsa2009-02-241-0/+6
| | | | | | | | needed by the hal port. This will be removed before 8.0. Add an exclusion to kdump as some structs will be redefined. Requested by: marcus
* Build fixups for the new USB stack.thompsa2009-02-231-4/+0
|
* Rename the rc.conf(5) knob if_up_delay to defaultroute_delay to bettermtm2009-02-172-4/+4
| | | | reflect its purpose.
* sys/pccard is gone.nyan2009-02-151-2/+0
|
* Remove pts(4) entries from /etc/ttys.ed2009-02-127-3584/+0
| | | | | | | | | | | | | | | Even though I increased the amount of pts(4) entries in /etc/ttys some time ago, I didn't realize back then those entries shouldn't have been there in the first place. I just looked at the getttyent() source code and it turns out when you call setttyent(), it walks through /dev/pts and looks for the device with the highest number. After you receive EOF's from getttyent(), it makes up entries for pts(4) devices. This means that adding entries for pts(4) is somewhat harmful, because if you now traverse the list, you get redundant entries, so just remove them.
* turn off ttyv*; not aware of any arm-based systems with sysconssam2009-02-121-8/+8
| | | | Reviewed by: imp
* Reword informational message by rc.d/defaultroute.mtm2009-02-111-1/+1
| | | | PR: conf/131458
* Named normally cannot be started chrooted inside a jail. Thus treatbz2009-02-071-5/+23
| | | | | | | | | | the jail case specifically. In case we find a proper pre-seeded devfs in the chroot path (mounted from the base system) permit starting chrooted else give proper warn/error messages. PR: conf/103489 Reviewed by: dougb MFC after: 5 days
* Check for NOAUTO on child interfaces (eg wlanX) so they can be created viathompsa2009-02-041-1/+3
| | | | rc.conf but not necessarily started.
* Since, rc.d/defaultroute has the ability to wait for amtm2009-02-021-1/+1
| | | | | | default route to show up we can turn this knob back on without screwing subsequent daemons that expect to be able to talk to the outside world.
* The 30 second wait for network interfaces to show up effectively makes themtm2009-02-021-4/+15
| | | | | | time to boot an unplugged system 30 sec. longer for no good reason. Therefore, add a check to make sure that any DHCP interfaces are plugged in before waiting.
* Spawn one fewer shells on startup. We don't use dhcp_interfaces atimp2009-01-301-1/+0
| | | | | | all in this function, and grep shows no other instances of it (besides, this is a function, and in a sub-shell, so all changes are local).
* Backout change 187782. It inhibits ntpd from starting at allkeramida2009-01-291-1/+1
| | | | | | when ntpd_sync_on_start is set. Noticed by: rafan
* Remove gsm hacks now that we can do this "right":sam2009-01-281-39/+9
| | | | | | o no need for special country codes; it's sufficient to use the sku o no need to specify bands w/ 2.4G frequencies, use the real values o remove duplicate band specs
* When synchronizing the clock at system startup time, use bothkeramida2009-01-271-1/+1
| | | | | | | | | the -g and -q options. They do a slightly different thing and both are necessary when the time difference is large. Noticed by: danger, in the forums Approved by: roberto MFC after: 1 week
* Remove DETACH event handling; this is race prone and does nothing useful.sam2009-01-261-6/+5
| | | | | | | Leave a comment for the next person that thinks they need to be helpful. Reviewed by: imp, jhb MFC after: 2 weeks
* Update jail startup script for multi-IPv4/v6/no-IP jails.bz2009-01-262-21/+215
| | | | | | | | | | | | | | | | | | | | | | | Note: this is only really necessary because of the ifconfig logic to add/remove the jail IPs upon start/stop. Consensus among simon and I is that the logic should really be factored out from the startup script and put into a proper management solution. - We now support starting of no-IP jails. - Remove the global jail_<jname>_netmask option as it is only helpful to set netmasks/prefixes for the right address family and per address. - Implement jail_<jname>_ip options to support both address familes with regard to ifconfig logic. - Implement _multi<n> support suffix to the jail_<jname>_ip option to configure additional addresses to avoid overlong, unreadbale jail_<jname>_ip lines with lots of addresses. Submitted by: initial work from Ruben van Staveren Discussed on: freebsd-jail in Nov 2008. Reviewed by: simon, ru (partial, older version) MFC after: 1 week
* Instead of killing the 'watchdog' subshell and leaving a sleep forbz2009-01-251-1/+1
| | | | | | | | | | | | | rcshutdown_timeout (normally 30s) around re-parented to init, make sure both go away using pkill -P. While noone normally notices this for the system shutdown, it helps for cleanly shutting down trusted jails. Found without a killall in the base system, which in rc.d/jail normally ensures that all processes of a jail to be stopped will be killed. Reviewed by: silence on current@ MFC after: 4 weeks
* revert r187343sam2009-01-161-1/+1
|
* add FCC4 SKU to expose Public Safety Band (PSB) frequencies; this issam2009-01-162-1/+67
| | | | modeled after the Atheros SKU of the same name
* Fix typo to install 400.status-pkg, again.ume2009-01-141-1/+1
|
* The description of the various securelevels has moved to thekeramida2009-01-081-1/+1
| | | | | | security.7 manpage a while ago. MFC after: 1 week
OpenPOWER on IntegriCloud