aboutsummaryrefslogtreecommitdiff
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace cleanup. This will simplify a future merge fromColin Percival2004-07-111-166/+161
| | | | | | | IANA's official list of port assignments. Notes: svn path=/head/; revision=131994
* Add a directory for the API include files.Hartmut Brandt2004-07-081-0/+2
| | | | Notes: svn path=/head/; revision=131830
* Sort entries correctly.Colin Percival2004-07-071-21/+21
| | | | Notes: svn path=/head/; revision=131732
* Disable rescanning of the scsi bus for the scsi controllers. ThereWarner Losh2004-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 Notes: svn path=/head/; revision=131646
* Wrap rc.subr insideColin Percival2004-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%. Notes: svn path=/head/; revision=131550
* Introduce GEOM_LABEL class.Pawel Jakub Dawidek2004-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! Notes: svn path=/head/; revision=131476
* Add user _pflogd.Maxim Konovalov2004-06-302-0/+2
| | | | Notes: svn path=/head/; revision=131343
* devd is now on by defaultWarner Losh2004-06-301-1/+1
| | | | | | | Reviewed by: dfr,njr (not nate!) Notes: svn path=/head/; revision=131338
* Make the stop command respect the 'fast' prefix.Mike Makonnen2004-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. Notes: svn path=/head/; revision=131135
* Fix typo.Mike Makonnen2004-06-241-1/+1
| | | | | | | Submitted by: kuriyama Notes: svn path=/head/; revision=131061
* It's /usr/sbin/nologin not /sbin/nologinMax Laier2004-06-231-1/+1
| | | | | | | | Found-by: brueffer Pointy-hat-to: mlaier Notes: svn path=/head/; revision=130968
* Swap order of ruleset load and enabling pf to work around a problem on altqMax Laier2004-06-231-3/+3
| | | | | | | startup. Moreover, this is the "more logic" order. Notes: svn path=/head/; revision=130954
* Add "privsep" user/group _pflogd:_pflogd (64:64) to make pflogd(8) workMax Laier2004-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 Notes: svn path=/head/; revision=130953
* Correct an error carried over from the nsswitch.conf(5) manual page; addDag-Erling Smørgrav2004-06-211-1/+1
| | | | | | | | | | a note to UPDATING since users may have to manually remove an incorrect nsswitch.conf. Noticed by: simon Notes: svn path=/head/; revision=130870
* Allow setting the system console keyboard via the ${keyboard} rc.confBrian Feldman2004-06-182-0/+8
| | | | | | | directive. Notes: svn path=/head/; revision=130699
* Link ALTQ to the build and break with ABI for struct ifnet. Please recompileMax Laier2004-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 Notes: svn path=/head/; revision=130416
* Import the ttys file for arm.Olivier Houchard2004-06-111-0/+309
| | | | | | | | make TARGET_ARCH=arm world now works (but still with external patches for the toolchain bits). Notes: svn path=/head/; revision=130350
* Back out rev 1.3.David E. O'Brien2004-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. :-( Notes: svn path=/head/; revision=130251
* Don't assume everyone's /etc/[default/]rc.conf 'entropy_file' is "/entropy".David E. O'Brien2004-06-071-1/+1
| | | | Notes: svn path=/head/; revision=130181
* Restore pre-rcNG behaviour:Mike Makonnen2004-06-062-5/+4
| | | | | | | | | | SIGINT (Ctrl-c) kills the current script SIGQUIT (Ctrl-\) kills /etc/rc (dropping you into single-user) Prodded by: harti Notes: svn path=/head/; revision=130161
* Remove trailing space.Gregory Neil Shapiro2004-06-061-1/+1
| | | | | | | Submitted by: jens Notes: svn path=/head/; revision=130157
* Removed whitespace at BOF, EOL & EOF.Jens Schweikhardt2004-06-0631-111/+107
| | | | Notes: svn path=/head/; revision=130151
* fix MELCO LPC3-TX entry.MIHIRA Sanpei Yoshiro2004-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 Notes: svn path=/head/; revision=130111
* fix typo in comment in my previous commit.Hajimu UMEMOTO2004-06-021-1/+1
| | | | Notes: svn path=/head/; revision=129995
* Add ip6addrctl_enable and ip6_addrctl_verbose option. IfHajimu UMEMOTO2004-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. Notes: svn path=/head/; revision=129994
* Add common share/locale directories (everything used by >= 5 ports [1]) andKris Kennaway2004-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 Notes: svn path=/head/; revision=129889
* Throw the switch and enable use of the lowest idle states while online inNate Lawson2004-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. Notes: svn path=/head/; revision=129830
* Add ftp-proxy 8021/tcp in order to make the inetd.conf entry actually work.Max Laier2004-05-271-0/+1
| | | | | | | | Submitted-by: brueffer Approved-by: bms(mentor) Notes: svn path=/head/; revision=129789
* Install nsswitch.Dag-Erling Smørgrav2004-05-241-1/+1
| | | | Notes: svn path=/head/; revision=129661
* If nsswitch.conf does not exist, create it with the default settings.Dag-Erling Smørgrav2004-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. Notes: svn path=/head/; revision=129651
* Move the task of updating nsswitch.conf / host.conf into a separateDag-Erling Smørgrav2004-05-242-64/+108
| | | | | | | script called nsswitch. Notes: svn path=/head/; revision=129650
* drop packet which has ::1 as src or dst via other than lo0Hajimu UMEMOTO2004-05-241-0/+2
| | | | | | | | | like as rc.firewall does. MFC after: 1 week Notes: svn path=/head/; revision=129644
* Really remove the return statement this time. Thanks toMike Makonnen2004-05-201-1/+0
| | | | | | | ru for noticing. Notes: svn path=/head/; revision=129497
* The err routine requires two arguments: an exit value and a string.Mike Makonnen2004-05-202-4/+3
| | | | | | | | Additionaly, it will exit the script so an return statements after calling it are superflous. Notes: svn path=/head/; revision=129492
* - Install includes used by STRIPE and NOP GEOM classes.Pawel Jakub Dawidek2004-05-202-0/+6
| | | | | | | | | - Create needed directories. Supported by: Wheel - Open Technologies - http://www.wheel.pl Notes: svn path=/head/; revision=129476
* Allow the location of the INDEX file to specified to pkg_version.Josef Karthauser2004-05-192-1/+2
| | | | | | | | | | This is particularly convenient on a cluster of machines to prevent having to rebuild the INDEX file on each. Reviewed by: portmgr Notes: svn path=/head/; revision=129424
* Change hw.acpi.cpu.cx_lowest to accept values in the form of C1,Nate Lawson2004-05-071-2/+2
| | | | | | | | C2, ... Update power_profile to use the new format. Update the man page to reflect this and give more info on Cx states. Notes: svn path=/head/; revision=129021
* Add g_concat.h and g_gate.h to be installed inPawel Jakub Dawidek2004-04-301-0/+4
| | | | | | | /usr/include/geom/(concat|gate)/. Notes: svn path=/head/; revision=128768
* Protect som cross-script invocations by checks to see that the targetPoul-Henning Kamp2004-04-282-4/+10
| | | | | | | | script exists. This allows pruning of rc.d scripts without getting too many ugly boottime error message Notes: svn path=/head/; revision=128714
* Initdiskless must run before ipfw, or people will not be able toPoul-Henning Kamp2004-04-282-0/+2
| | | | | | | | | | | | use the conf/* stuff for their firewall configuration. Running ipfw before could seem to make sense in that it would allow one to setup access to the NFS server on a "default-deny" kernel, but it is pretty obvious to the casual observer that such a configuration never makes it far enough to mount the NFS-root in the first place. Notes: svn path=/head/; revision=128713
* Replace shell's positional parameters safely.Ruslan Ermilov2004-04-283-7/+5
| | | | Notes: svn path=/head/; revision=128706
* When using this in non-NFSroot circumstances, `mount -t nfs` mayPoul-Henning Kamp2004-04-272-2/+4
| | | | | | | | return empty. Add a dummy element to prevent the alternate action of the shell builtin "set" Notes: svn path=/head/; revision=128685
* Removes the check for the existence of the sysctl variableSimon L. B. Nielsen2004-04-261-9/+0
| | | | | | | | | | | debug.watchdog since it is not created by hardware watchdog(4) devices. The watchdog(4) device is always compiled in the kernel, so removing the check should not cause any problems. Approved by: phk Notes: svn path=/head/; revision=128663
* Add an Israel Hebrew locale: he_IL.UTF-8.Tim J. Robbins2004-04-212-0/+6
| | | | | | | | PR: 65826 Submitted by: Hye-Shik Chang Notes: svn path=/head/; revision=128526
* Add script for checking ipv6 blocked packets from PR.Darren Reed2004-04-202-0/+56
| | | | | | | | PR: misc/50154 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org> Notes: svn path=/head/; revision=128473
* apply patch so pr can be closedDarren Reed2004-04-202-2/+2
| | | | | | | | | PR: misc/56715 Submitted by: grant@NetBSD.org Reviewed by: darrenr Notes: svn path=/head/; revision=128470
* sendmail_submit_enable and sendmail_outbound_enable checks were reverted.Max Khon2004-04-171-2/+2
| | | | | | | Found by: Morten Rodal <morten@rodal.no> Notes: svn path=/head/; revision=128366
* Actually install preseedrandom.Brooks Davis2004-04-171-1/+2
| | | | | | | Reported by: bde Notes: svn path=/head/; revision=128340
* Remove bogus checks on the value of ${entropy_file} and hardcode outBrooks Davis2004-04-151-11/+3
| | | | | | | | | | entropy source to /entropy. We have to assume there is no rc.conf at this stage of the boot process. Reported by: njl Notes: svn path=/head/; revision=128287
* Band-aid diskless booting by running a new preseedrandom script beforeBrooks Davis2004-04-153-0/+49
| | | | | | | | | | | | | | initdiskless. The output of several commands and if available the contents of /entropy are feed into /dev/random to kickstart the PRNG. /etc/rc.d/initrandom is left alone to maintain the previous behavior as much as possiable. Further work in this area is probably needed. Discussed with: markm Notes: svn path=/head/; revision=128286