summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Add Hungarian calendar entries.dwmalone2004-08-161-0/+2
| | | | | PR: 42725 Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu>
* Connect RAID3 GEOM class to the build.pjd2004-08-161-0/+2
|
* Fix the startup logic for sendmail. If sendmail_enable=yes, don't startgshapiro2004-08-051-10/+11
| | | | | | | | | | | | | | | the submit and outbound daemon, else if sendmail_submit_enable=yes, don't start the outbound daemon. Only one daemon should be started. Also, do not rebuild database maps at boot time. The code didn't pay attention to SENDMAIL_MAP_TYPE and assumed 'hash'. Also, admins may not want maps automatically rebuilt just because the back end database has changed. Finally, some maps are built with mode tools than just makemap (e.g., using cidrexpand on the access text file before sending it to makemap). Noticed by: ache Reviewed by: ache
* Give sshd a secure startup, but with a tweakable timeout so thatmarkm2004-08-041-0/+25
| | | | the box won't hang forever at startup.
* Use RFC 3849 address for examples.ume2004-08-032-8/+8
| | | | | Pointed out by: mistral@imasy.or.jp MFC after: 1 week
* allow ::1 explicitly.ume2004-08-031-1/+1
| | | | | Pointed out by: mistral@imasy.or.jp MFC after: 1 week
* UUCP's uucico(8) has not been in the base system for some time now,markm2004-08-011-1/+1
| | | | | | so reflect this in the default. The uucp uid is a bit funny, and is used by mtree in /var/spool for locks, so we can't remove it without thinking about it a bit harder.
* Connect GEOM_MIRROR class to the build.pjd2004-07-301-0/+2
|
* Finish cleanup of rc.d/netif. It's now possible to start/stop moremtm2004-07-302-17/+32
| | | | | | | | | | | than one interface from the command line: # /etc/rc.d/netif start bfe0 xl0 It's also possible to restart an interface(s): # /etc/rc.d/netif restart bfe0 This required some changes to rc.subr(8) so that if the start/stop commands are overidden the rest of the command line (after the start/stop/etc... cmd) is passed through to the subroutines.
* Bmake glue for GCC 3.4.2-prerelease.kan2004-07-281-1/+3
|
* back out the localkg changes until things have settled.eik2004-07-281-134/+21
| | | | Discussed with: mtm
* Even though binaries will give 0 matches, make it explicit.mtm2004-07-271-1/+1
|
* Fixed style of previous commit.ru2004-07-271-1/+1
|
* Fix typo in description of pflog_logfile.mlaier2004-07-271-1/+1
| | | | Submitted by: Mike Jakubik
* Correct typo.mtm2004-07-241-1/+1
| | | | Submitted by: eik (and probably many others)
* Ports related rc.d cleanups:mtm2004-07-241-21/+134
| | | | | | | | | | | | | | | | | | | | | | | | o Separate out local (ports) scripts that use rc.d, and the old style startup/shutdown scripts and execute them separately. On startup the rc.d style scripts are executed first and then the old-style scripts. On shutdown, exactly the reverse happens. o The rc.d ports scripts should now behave more like base system scripts. Scripts ending in .sh will be sourced into the current shell, while the rest will be executed in a subshell. Previously, all ports scripts, regardless of the .sh suffix, were executed in a subshell. o The parent script, /etc/rc.d/localpkg, passes its command line arguments straight to the rc.d ports scripts. This means they should now honor faststop and faststart commands as well. Old style scripts, should not see any differences. They will still get either a start or stop command. o The initial phrase shown during shutdown has been changed to use "local packages" instead of "daemon processes" to be more inline with the phrase used during local package startup. The phrases are also used only for old-style ports script startup/shutdown, whereas previously they were being used for both rc.d and old-style scripts. This should make startup/shutdown output a bit less ugly. Discussed with: portmgr Has Reservations: eik
* Add /etc/ntp to hold keys for ntpd.roberto2004-07-211-0/+2
|
* For the gbde attach script:simon2004-07-182-3/+15
| | | | | | | | | | | - Ask the user up to X times (3 by default) for the pass-phrase, if it is incorrect the first time. - Add support for storing the lockfiles in another other directory than /etc. - Document that it is possible to override the location of each single lockfile. Approved by: pjd
* Whitespace cleanup. This will simplify a future merge fromcperciva2004-07-111-166/+161
| | | | IANA's official list of port assignments.
* Add a directory for the API include files.harti2004-07-081-0/+2
|
* Sort entries correctly.cperciva2004-07-071-21/+21
|
* Disable rescanning of the scsi bus for the scsi controllers. Thereimp2004-07-051-1/+1
| | | | | | | are some that really hate this, so now that devd is default, be more conservative about what we do. Noticed by: marcel
* Wrap rc.subr insidecperciva2004-07-041-0/+6
| | | | | | | | | | | if [ -z "${_rc_subr_loaded}" ]; then _rc_subr_loaded="YES" ... fi in order to avoid re-interpreting rc.subr every time an rc.d script is run. In my tests, this speeds up rc time by about 8-10%.
* Introduce GEOM_LABEL class.pjd2004-07-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | This class is used for detecting volume labels on file systems: UFS, MSDOSFS (FAT12, FAT16, FAT32) and ISO9660. It also provide native labelization (there is no need for file system). g_label_ufs.c is based on geom_vol_ffs from Gordon Tetlow. g_label_msdos.c and g_label_iso9660.c are probably hacks, I just found where volume labels are stored and I use those offsets here, but with this class it should be easy to do it as it should be done by someone who know how. Implementing volume labels detection for other file systems also should be trivial. New providers are created in those directories: /dev/ufs/ (UFS1, UFS2) /dev/msdosfs/ (FAT12, FAT16, FAT32) /dev/iso9660/ (ISO9660) /dev/label/ (native labels, configured with glabel(8)) Manual page cleanups and some comments inside were submitted by Simon L. Nielsen, who was, as always, very helpful. Thanks!
* Add user _pflogd.maxim2004-06-302-0/+2
|
* devd is now on by defaultimp2004-06-301-1/+1
| | | | Reviewed by: dfr,njr (not nate!)
* Make the stop command respect the 'fast' prefix.mtm2004-06-262-5/+6
| | | | | | | | Most notably, this cleans up messages when shutting down from single user. In such a case there are usually no daemons running, but their pid files are still in /var/run. This causes rc.d to output diagnostics about daemons with pidfiles, but that are not running.
* Fix typo.mtm2004-06-241-1/+1
| | | | Submitted by: kuriyama
* It's /usr/sbin/nologin not /sbin/nologinmlaier2004-06-231-1/+1
| | | | | Found-by: brueffer Pointy-hat-to: mlaier
* Swap order of ruleset load and enabling pf to work around a problem on altqmlaier2004-06-231-3/+3
| | | | startup. Moreover, this is the "more logic" order.
* Add "privsep" user/group _pflogd:_pflogd (64:64) to make pflogd(8) workmlaier2004-06-232-0/+2
| | | | | | | | again. This user/group is not required for install* targets, hence do not add them to CHECK_UIDS/CHECK_GIDS in Makefile.inc1 (no need to annoy people). Discussed-on: -current
* Correct an error carried over from the nsswitch.conf(5) manual page; adddes2004-06-211-1/+1
| | | | | | | a note to UPDATING since users may have to manually remove an incorrect nsswitch.conf. Noticed by: simon
* Allow setting the system console keyboard via the ${keyboard} rc.confgreen2004-06-182-0/+8
| | | | directive.
* Link ALTQ to the build and break with ABI for struct ifnet. Please recompilemlaier2004-06-131-0/+2
| | | | | | | | | | | | your (network) modules as well as any userland that might make sense of sizeof(struct ifnet). This does not change the queueing yet. These changes will follow in a seperate commit. Same with the driver changes, which need case by case evaluation. __FreeBSD_version bump will follow. Tested-by: (i386)LINT
* Import the ttys file for arm.cognet2004-06-111-0/+309
| | | | | make TARGET_ARCH=arm world now works (but still with external patches for the toolchain bits).
* Back out rev 1.3.obrien2004-06-081-1/+1
| | | | | This is one of the few RC scripts that doesn't use rc.subr, and thus doesn't source rc.conf. :-(
* Don't assume everyone's /etc/[default/]rc.conf 'entropy_file' is "/entropy".obrien2004-06-071-1/+1
|
* Restore pre-rcNG behaviour:mtm2004-06-062-5/+4
| | | | | | | SIGINT (Ctrl-c) kills the current script SIGQUIT (Ctrl-\) kills /etc/rc (dropping you into single-user) Prodded by: harti
* Remove trailing space.gshapiro2004-06-061-1/+1
| | | | Submitted by: jens
* Removed whitespace at BOF, EOL & EOF.schweikh2004-06-0631-111/+107
|
* fix MELCO LPC3-TX entry.sanpei2004-06-051-0/+1
| | | | | | | | | I mistaked at 1.166. Submitted by: SARUMARU Yoshihiko <mistral@imasy.or.jp> Pointed out by: MORIYASU Hirano <m-hirano@konsei.co.jp> FreeBSD-users-jp 79808 FreeBSD-users-jp 79816
* fix typo in comment in my previous commit.ume2004-06-021-1/+1
|
* Add ip6addrctl_enable and ip6_addrctl_verbose option. Ifume2004-06-022-3/+45
| | | | | | | | | | | | ip6addrctl_enable is set to YES, address selection policy is installed into kernel. If there is /etc/ip6addrctl.conf, it is used for address selection policy. Even if there is no /etc/ip6addrctl.conf, we install default policy. In this case, if ipv6_enable is set to YES, we use address selection policy described in RFC 3484 as default. Otherwise, we install priority policy for IPv4 address. The default of ip6addrctl_enable is NO for now. However, it may better to enable it by default.
* Add common share/locale directories (everything used by >= 5 ports [1]) andkris2004-05-312-0/+176
| | | | | | | | | | /usr/local/www [1] Semi-arbitrary cutoff, but I didn't want to add every locale directory used by ports, because a lot are only used by one or two, and it's less intrusive for these ports to just clean up after themselves. MFC after: 2 days
* Throw the switch and enable use of the lowest idle states while online innjl2004-05-291-1/+1
| | | | | addition to offline. This can be overridden in /etc/rc.conf if it causes trouble although this has been stable since 2003/12.
* Add ftp-proxy 8021/tcp in order to make the inetd.conf entry actually work.mlaier2004-05-271-0/+1
| | | | | Submitted-by: brueffer Approved-by: bms(mentor)
* Install nsswitch.des2004-05-241-1/+1
|
* If nsswitch.conf does not exist, create it with the default settings.des2004-05-241-7/+30
| | | | | | | The reason for doing this is that (at least some) 4.x binaries are very unhappy if host.conf does not exist, and if we create host.conf but not nsswitch.conf, nsswitch.conf will be created at the next reboot, so it is better to create a correct nsswitch.conf right away.
* Move the task of updating nsswitch.conf / host.conf into a separatedes2004-05-242-64/+108
| | | | script called nsswitch.
* drop packet which has ::1 as src or dst via other than lo0ume2004-05-241-0/+2
| | | | | | like as rc.firewall does. MFC after: 1 week
OpenPOWER on IntegriCloud