summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* Actually install preseedrandom.brooks2004-04-171-1/+2
| | | | Reported by: bde
* Remove bogus checks on the value of ${entropy_file} and hardcode outbrooks2004-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
* Band-aid diskless booting by running a new preseedrandom script beforebrooks2004-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
* Move the SNMP MIBs and tree definitions from /usr/share/bsnmp toharti2004-04-141-6/+6
| | | | | /usr/share/snmp. This mirrors the use of /usr/local/share/snmp and makes also more sense when non-bsnmp-specific MIBs go in.
* Catch up with diskless split "diskless" is no longer provided.brooks2004-04-122-2/+2
| | | | Suggested by: cperciva
* Document devfs_set_rulesets a little.green2004-04-101-0/+2
|
* Add Xircom XEM5600 card (appears to be a renamed REM56).rsm2004-04-091-1/+23
| | | | | | Observe that Xircom CEM28 and CEM33 are known to work in Ethernet mode. Reviewed by: imp (mentor)
* Take into account hardware-supplied entropy. If the entropy sourcemarkm2004-04-091-34/+41
| | | | is hardware, the Yarrow initialisations don't need to be done.
* Style fixes, as suggested by Jens Schweikhardt <schweikh@schweikhardt.net>wes2004-04-062-9/+6
|
* Split ramdisk processing in two so it can actually work. Ownershipswes2004-04-062-12/+60
| | | | | | | | and permissions specified per rc.conf(5) now apply both to the md device and to the mountpoint directory, after the mount has completed. This has to be done in two steps, because chown is not available until after /usr has been mounted, but the mdconfig and newfs steps have to complete before fstab processing.
* Add separate script for natd. This fixes race condition with "ipfw restart"fjoe2004-04-053-28/+45
| | | | | | | (when new natd is started before old natd died) and allows to manage natd without touching ipfw. natd should probably be killed with SIGKILL when stopping natd.
* Allow this script to be used for Postfix:fjoe2004-04-051-3/+4
| | | | | | | - Use sendmail_foo variables after load_rc_config so that they actually work. - Utilize sendmail_procname. - Check sendmail_submit_enable instead of sendmail_enable when dealing with mail submission MTA.
* Document sendmail_pidfile variable.fjoe2004-04-051-1/+3
| | | | Add sendmail_procname variable.
* Style:mlaier2004-04-032-3/+2
| | | | | | | | - do not comment out entries in newsyslog.conf - use tabs to line up inetd.conf Requested by: bde Approved by: bms(mentor)
* Add rc.d script to start pflogd and add rcvars etc. Also document vars inmlaier2004-04-025-2/+93
| | | | | | | rc.conf(5) and put a sample entry to newsyslog.conf Reviewed by: -current Approved by: bms(mentor)
* - Use "/bin/hostname" explicitly instead of "hostname".krion2004-04-022-4/+4
| | | | | Approved by: tobez MFC after: 1 week
* - Use absolute path for hostname(1)krion2004-04-011-1/+1
| | | | Approved by: green
* Extensive documentation changes to the script, but onlyluigi2004-03-312-98/+174
| | | | | | | | | comments and empty lines have been touched. All of this should go in the diskless(8) manpage, now if we had some kind of 'literate programming' tool to extract the comments from the script and put them in a reasonable nroff format, it would be a lot easier to keep code and docs in sync
* Minor changes mostly as discussed on the lists a few days ago:luigi2004-03-312-12/+44
| | | | | | | | | | | | | + SUBDIR.cpio.gz prevents files from SUBDIR/ to be copied when priming the memory filesystems. This restores the old behaviour and makes the copy process a lot more efficient + look for templates also in the list of directories supplied by bootp/dhcp via the T134 option aka kern.bootp_cookie + keep track of directories temporarily mounted with "remount" or "diskless_remount" commands and unmount them once we are done with them (at the end of this script).
* Synchronize with reality: nologin(8) is now in /usr/sbincperciva2004-03-301-16/+16
| | | | Reminded by: trhodes
* Remove the POSIX and en_US.US-ASCII links after ache@ explained why theydes2004-03-302-4/+0
| | | | are unnecessary (and a bad idea).
* Fix the case where $ntpdate_hosts was not specified and /etc/ntp.confdes2004-03-291-2/+2
| | | | | | does not exist. Submitted by: ru
* Add directories under /usr/share/nls and /usr/local/share/nlstjr2004-03-292-2/+202
| | | | | | for the new UTF-8 locales. Reminded by: ache
* A few small cleanups:dougb2004-03-271-14/+4
| | | | | | | 1. Add the shutdown keyword so that the script is run at shutdown time, and the mixer* files are saved. 2. Twiddle whitespace. 3. Remove an unecessary function, and therefore collapse one variable.
* Add UTF-8 versions of all the currently supported system locales. Most oftjr2004-03-271-0/+102
| | | | | | | the hard work was done by Hye-Shik Chang in the misc/utf8locale port; I made a few minor adjustments and merged the makefiles. PR: 44307
* Removed more vestiges of the stl(4) driver.ru2004-03-261-2/+0
|
* Install the pf rc.d-script (missed Makefile update in original commit)mlaier2004-03-241-1/+1
| | | | Approved by: bms(mentor)
* Back out revision 1.295. share/libdata/gcc/ is valid and used.obrien2004-03-241-0/+2
|
* Added 'nojail' keyword for rc.d/mixer script, while mixer(8) is notpjd2004-03-241-1/+1
| | | | usable in jail by default (no /dev/mixer).
* Previous commit should have read: remove share/libdata/doscmd/{,fonts/}.des2004-03-241-2/+0
| | | | This time around, remove share/libdata/gcc/ which seems unused.
* Remove share/doscmd/{,fonts/}des2004-03-241-4/+0
|
* Overhaul the /etc/rc.d/diskless script by splitting it out intobrooks2004-03-2310-567/+119
| | | | | | | | | | hostname, resolve, tmp, and var scripts. The latter three are new and were repo copied. These scripts no longer depend on being booted with and NFS root instead attempt to automaticly create mfs /tmp and /var volumes if the they are not writable. This behavior can be overridden in /etc/rc.conf. Reviewed by: luigi, pjd
* Add rc.d script for pf(4) (more to come once pflogd(8) works as well).mlaier2004-03-232-0/+97
| | | | | | | | Update defaults and write some lines for rc.conf(5) also. Mostly dup'ed from ipf Reviewed by: -current Approved by: bms(mentor)
* Drop the -d argument to mtree since some of the spec files now listdes2004-03-231-4/+4
| | | | symlinks.
* Add share/nls/{POSIX,en_US.US-ASCII} as symlinks to C.des2004-03-232-0/+4
|
* Set start_cmd and stop_cmd correctly so the code that extracts the namesdes2004-03-221-4/+3
| | | | | of the ntp servers from ntp.conf is actually used. Remove pidfile since ntpdate is not a daemon.
* o Add user proxy.maxim2004-03-202-0/+2
|
* Add a way for rc.d/devfs to set more than just the system devfs up.green2004-03-201-3/+16
| | | | | | Yes, this means for stuff OTHER than jails, too. Example usage: #devfs_system_ruleset="root" devfs_set_rulesets="/dev=root /etc/namedb/dev=named_devfs"
* Echo and pass dumpdev as the device argument to savecore.davidc2004-03-181-2/+2
| | | | PR: bin/51655
* Add a mixer script that saves the current settings of all mixers presentjhb2004-03-152-1/+113
| | | | | | | in the system on shutdown and restores the settings on boot. The settings can also be reset to the saved values via 'mixer reload'. Reviewed by: current@
* Add script for creating ramdisks at boot time, in time to be processedwes2004-03-151-0/+82
| | | | by fstab.
* 1. Remove the named_rcng variable. Mike's caution in this area was a gooddougb2004-03-142-23/+5
| | | | | | | | | | | | | | | | | | | | | | | | thing, but we're ready to move on. 2. Remove the -g default argument in named_flags. It doesn't actually do what most users think it does, and what most users want it to do is already accomplished with a proper default group for the bind user, which we have. Also, the -g knob does something entirely different in BIND 9, which leads to a lot of needless confusion/aggravation. 3. In the rc.d script, don't bogusly override $command, or $rc_flags. Both are adequately handled in rc.conf[.local]. 4. DO properly override $rc_flags if user has named_chrootdir set. This may need to be revisited, but should be ok for now. 5. Protect all chrootdir-related bits under that variable, instead of named_rcng. There is more work to be done here, especially in the area of BIND 9 compatibility, but this is a start at least. Prompted in part by (legitmate) grousing from: kuriyama, Randy Bush
* I believe most of /boot/device.hints out there are based (if notru2004-03-141-3/+3
| | | | | | | | identical) on GENERIC.hints, hence the following change: Moved the creation of /boot/device.hints where it belongs. This should aid in merging GENERIC.hints changes to /boot/device.hints, using mergemaster(8) or a similar approach.
* Fix odd grammar in comment.cperciva2004-03-131-1/+1
| | | | | PR: docs/64190 Submitted by: Dan Langille
* If /conf/diskless_remount exists, use it to remount the entire /confbrooks2004-03-122-4/+26
| | | | | directory. This allows multiple roots (say for different architectures) to share the same set of /conf files.
* Turn on logging for tftpd.des2004-03-111-2/+2
|
* Don't run fsck if there's no /etc/fstab.kientzle2004-03-111-0/+2
| | | | | | | In particular, this allows a "virgin" system installed from source (installworld, installkernel, cd etc && make distribution) to boot correctly and modestly simplifies the creation of single-partition network/cdrom/CF bootable images.
* ftp-proxy no longer lives in /usr/local/...mlaier2004-03-101-1/+1
| | | | | Noticed by: Pyun YongHyeon Approved by: bms(mentor)
* Add trailing collonmlaier2004-03-101-2/+2
| | | | | Noticed by: dwhite Approved by: bms(mentor)
* Make this file more generally usable:phk2004-03-092-38/+70
| | | | | | | | Trigger not only on diskless booting sysctls being set, but also on the existence of the file "/etc/diskless". But do not try to extract IP# related keywords in that case. Add a general "remount" facility to allow non-NFS remounting.
OpenPOWER on IntegriCloud