aboutsummaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
...
* Delete the old USB stack. The new stack has settled in and has all theAndrew Thompson2009-05-271-6/+0
| | | | | | | drivers/functionality and then some. Notes: svn path=/head/; revision=192901
* Further idmapd garbage collection -- remove rc.d Makefile reference andRobert Watson2009-05-222-3/+1
| | | | | | | | | default settings. Submitted by: Pawel Worach <pawel.worach at gmail.com> Notes: svn path=/head/; revision=192579
* Remove the unmaintained University of Michigan NFSv4 client from 8.xRobert Watson2009-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 Notes: svn path=/head/; revision=192578
* Modify src/etc/mtree/BSD.include.dist and src/include/MakefileRick Macklem2009-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) Notes: svn path=/head/; revision=192545
* - do not create and mount new file systems on top of the old ones on everyDaniel Gerzo2009-05-171-2/+4
| | | | | | | | | | invocation of this script once we already have one (in case tmpmfs="YES"). Reviewed by: dougb Notes: svn path=/head/; revision=192246
* 1. New feature; option to have the script loop until a specified hostnameDoug Barton2009-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. Notes: svn path=/head/; revision=192215
* Trim trailing whitespace from the end of a lineDoug Barton2009-05-161-1/+1
| | | | Notes: svn path=/head/; revision=192210
* o Add missed semicolon in action script.Maxim Konovalov2009-05-161-1/+1
| | | | | | | | | PR: conf/134579 Submitted by: Lucius Windschuh MFC after: 1 week Notes: svn path=/head/; revision=192198
* Set crashinfo_enable to "YES" by default.Craig Rodrigues2009-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 Notes: svn path=/head/; revision=192089
* Added (pre|post)(start|stop) jail hooks. These can be used to runRuslan Ermilov2009-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 Notes: svn path=/head/; revision=191620
* - Add ipfw_nat to the list of required modules if "firewall_nat_enable"Maksim Yevmenkin2009-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 Notes: svn path=/head/; revision=190575
* Add the URL for RFC2142Gregory Neil Shapiro2009-03-231-0/+1
| | | | | | | PR: conf/127510 Notes: svn path=/head/; revision=190304
* Add /usr/include/pcap (new in libpcap 1.0.0).Rui Paulo2009-03-221-0/+2
| | | | Notes: svn path=/head/; revision=190231
* Add hostid to the ranks.Dag-Erling Smørgrav2009-03-191-0/+1
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=190032
* Revert r188010. When dhclient is backgrounded, services such as ntpdate,Dag-Erling Smørgrav2009-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 Notes: svn path=/head/; revision=190031
* Add support for setting the debug flags on wlan interfaces after the areBrooks Davis2009-03-132-1/+10
| | | | | | | created using wlandebug_<ifn> variables. Notes: svn path=/head/; revision=189759
* Backout previous commit due to PEBKACGuido van Rooij2009-03-111-1/+1
| | | | Notes: svn path=/head/; revision=189694
* When swap resides on a mirror and it is not stopped, the mirrorGuido van Rooij2009-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) Notes: svn path=/head/; revision=189624
* Install the old usb headers under /usr/include/legacy/dev/usb as they areAndrew Thompson2009-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 Notes: svn path=/head/; revision=188978
* Build fixups for the new USB stack.Andrew Thompson2009-02-231-4/+0
| | | | Notes: svn path=/head/; revision=188945
* Rename the rc.conf(5) knob if_up_delay to defaultroute_delay to betterMike Makonnen2009-02-172-4/+4
| | | | | | | reflect its purpose. Notes: svn path=/head/; revision=188710
* sys/pccard is gone.Yoshihiro Takahashi2009-02-151-2/+0
| | | | Notes: svn path=/head/; revision=188642
* Remove pts(4) entries from /etc/ttys.Ed Schouten2009-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. Notes: svn path=/head/; revision=188535
* turn off ttyv*; not aware of any arm-based systems with sysconsSam Leffler2009-02-121-8/+8
| | | | | | | Reviewed by: imp Notes: svn path=/head/; revision=188529
* Reword informational message by rc.d/defaultroute.Mike Makonnen2009-02-111-1/+1
| | | | | | | PR: conf/131458 Notes: svn path=/head/; revision=188478
* Named normally cannot be started chrooted inside a jail. Thus treatBjoern A. Zeeb2009-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 Notes: svn path=/head/; revision=188293
* Check for NOAUTO on child interfaces (eg wlanX) so they can be created viaAndrew Thompson2009-02-041-1/+3
| | | | | | | rc.conf but not necessarily started. Notes: svn path=/head/; revision=188118
* Since, rc.d/defaultroute has the ability to wait for aMike Makonnen2009-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. Notes: svn path=/head/; revision=188010
* The 30 second wait for network interfaces to show up effectively makes theMike Makonnen2009-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. Notes: svn path=/head/; revision=188009
* Spawn one fewer shells on startup. We don't use dhcp_interfaces atWarner Losh2009-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). Notes: svn path=/head/; revision=187909
* Backout change 187782. It inhibits ntpd from starting at allGiorgos Keramidas2009-01-291-1/+1
| | | | | | | | | when ntpd_sync_on_start is set. Noticed by: rafan Notes: svn path=/head/; revision=187879
* Remove gsm hacks now that we can do this "right":Sam Leffler2009-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 Notes: svn path=/head/; revision=187846
* When synchronizing the clock at system startup time, use bothGiorgos Keramidas2009-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 Notes: svn path=/head/; revision=187782
* Remove DETACH event handling; this is race prone and does nothing useful.Sam Leffler2009-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 Notes: svn path=/head/; revision=187743
* Update jail startup script for multi-IPv4/v6/no-IP jails.Bjoern A. Zeeb2009-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 Notes: svn path=/head/; revision=187708
* Instead of killing the 'watchdog' subshell and leaving a sleep forBjoern A. Zeeb2009-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 Notes: svn path=/head/; revision=187685
* revert r187343Sam Leffler2009-01-161-1/+1
| | | | Notes: svn path=/head/; revision=187344
* add FCC4 SKU to expose Public Safety Band (PSB) frequencies; this isSam Leffler2009-01-162-1/+67
| | | | | | | modeled after the Atheros SKU of the same name Notes: svn path=/head/; revision=187343
* Fix typo to install 400.status-pkg, again.Hajimu UMEMOTO2009-01-141-1/+1
| | | | Notes: svn path=/head/; revision=187210
* The description of the various securelevels has moved to theGiorgos Keramidas2009-01-081-1/+1
| | | | | | | | | security.7 manpage a while ago. MFC after: 1 week Notes: svn path=/head/; revision=186916
* Put the devfs ruleset next to devfs enable, add a comment aboutBjoern A. Zeeb2009-01-061-2/+3
| | | | | | | | | | | | | the suggested ruleset[1]. While here use an IP from the 'test-net' prefix for docs. PR: kern/130102 ([1] different problem in the end) Reviewed by: simon MFC after: 2 weeks Notes: svn path=/head/; revision=186841
* Move another block of ASUS events to devd/asus.conf that were missed in r186249Andrew Thompson2008-12-232-22/+22
| | | | Notes: svn path=/head/; revision=186432
* Add /etc/devd/ and move hardware specific configuration there. This makes itAndrew Thompson2008-12-175-23/+64
| | | | | | | | | easier to maintain custom rules for non-system things like ACPI hotkeys. /etc/devd.conf is already set up to check this directory, no change needed there. Notes: svn path=/head/; revision=186249
* Correct a bug where /etc/rc.d/defaultroute fails to finish by printing aBrooks Davis2008-12-171-1/+3
| | | | | | | | | | | | newline when it fails to obtain an address via DHCP. This made the next rc script begin its output on the same line. PR: conf Submitted by: Bruce Cran <bruce at cran dot org dot uk> MFC after: 3 days Notes: svn path=/head/; revision=186237
* o fix DEBUG sku definitionSam Leffler2008-12-151-1/+138
| | | | | | | o add definitions for 900MHz radios: Ubiquiti SR9 and XR9, and ZComax GZ-901 Notes: svn path=/head/; revision=186106
* Remove slip.log. Slip got removed as part of the MPSAFE tty work. IfKen Smith2008-12-021-2/+0
| | | | | | | | | | it does come back it would probably be better if users who were interested in slip added appropriate lines instead of this being here unconditionally. Reminded by: tut <at> nhamon <dot> com <dot> ua Notes: svn path=/head/; revision=185566
* The slip.log file got removed along with the MPSAFE tty work. If slipKen Smith2008-12-021-1/+0
| | | | | | | | | does ever come back it's probably best if its log file be something that gets added if the user decided they want to run slip instead of having it here unconditionally. Notes: svn path=/head/; revision=185565
* src/sys/dev/usb2/controller/uss820dci_pccard.cAlfred Perlstein2008-11-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | src/sys/dev/usb2/core/usbdevs src/sys/dev/usb2/include/urio2_ioctl.h src/sys/dev/usb2/storage/ustorage2_fs.h These files are not used any more. src/usr.sbin/Makefile src/etc/mtree/BSD.include.dist src/include/Makefile src/lib/Makefile src/share/man/man7/hier.7 src/share/mk/bsd.libnames.mk src/etc/mtree/BSD.include.dist Make "usbconfig" and "libusb20" a part of the default build. src/sys/dev/usb/rio500_usb.h src/sys/dev/usb2/storage/urio2.c Use common include file. src/sys/dev/usb2/bluetooth/ng_ubt2.c Make USB bluetooth depend on "ng_hci" module. src/sys/dev/usb2/controller/ehci2.c src/sys/dev/usb2/controller/ehci2.h Patches for Marvell EHCI. src/sys/dev/usb2/core/usb2_busdma.c Bugfix for 64-bit platforms. Need to unload the previously loaded DMA map and some cleanup regarding some corner cases. src/sys/dev/usb2/core/usb2_core.h src/sys/dev/usb2/core/usb2_dev.c src/sys/dev/usb2/core/usb2_dev.h Bugfix for libusb filesystem interface. New feature: Add support for filtering device data at the expense of the userland process. Add some more comments. Some minor code styling. Remove unused function, usb2_fifo_get_data_next(). Fix an issue about "fifo_index" being used instead of "ep_index". src/sys/dev/usb2/core/usb2_device.c src/sys/dev/usb2/core/usb2_generic.c Bugfix for Linux USB compat layer. Do not free non-generic FIFOs when doing an alternate setting. Cleanup USB IOCTL and USB reference handling. Fix a corner case where USB-FS was left initialised after setting a new configuration or alternate setting. src/sys/dev/usb2/core/usb2_hub.c Improvement: Check all USB HUB ports by default at least one time. src/sys/dev/usb2/core/usb2_request.c Bugfix: Make sure destination ASCII string is properly zero terminated in all cases. Improvement: Skip invalid characters instead of replacing with a dot. src/sys/dev/usb2/core/usb2_util.c src/sys/dev/usb2/image/uscanner2.c Spelling. src/sys/dev/usb2/include/Makefile Share "usbdevs" with the old USB stack. src/sys/dev/usb2/include/usb2_devid.h src/sys/dev/usb2/include/usb2_devtable.h Regenerate files. Alfred: Please fix the RCS tag at the top. src/sys/dev/usb2/include/usb2_ioctl.h Fix compilation of "kdump". src/sys/dev/usb2/serial/ubsa2.c src/sys/dev/usb2/serial/ugensa2.c Remove device ID's which will end up in a new 3G driver. src/sys/dev/usb2/sound/uaudio2.c Correct a debug printout. src/sys/dev/usb2/storage/umass2.c Sync with old USB stack. src/lib/libusb20/libusb20.3 Add more documentation. src/lib/libusb20/libusb20.c Various bugfixes and improvements. src/usr.sbin/usbconfig/dump.c src/usr.sbin/usbconfig/usbconfig.c New commands for dumping strings and doing custom USB requests from the command line. Remove keyword requirements from generated files: "head/sys/dev/usb2/include/usb2_devid.h" "head/sys/dev/usb2/include/usb2_devtable.h" Notes: svn path=/head/; revision=185087
* Add defaults for /etc/rc.d/gssdGiorgos Keramidas2008-11-051-0/+3
| | | | | | | Approved by: dfr Notes: svn path=/head/; revision=184675
* Correct a typo that prevented my laptop from startingXin LI2008-11-041-1/+1
| | | | | | | devd. Notes: svn path=/head/; revision=184663