summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Fix typos.ale2004-03-081-2/+2
| | | | Approved by: blackend (mentor/implicitly)
* Link pf to the build and install:mlaier2004-03-087-2/+642
| | | | | | | | | | | | | | | | This adds the former ports registered groups: proxy and authpf as well as the proxy user. Make sure to run mergemaster -p in oder to complete make installworld without errors. This also provides the passive OS fingerprints from OpenBSD (pf.os) and an example pf.conf. For those who want to go without pf; it provides a NO_PF knob to make.conf. __FreeBSD_version will be bumped soon to reflect this and to be able to change ports accordingly. Approved by: bms(mentor)
* Mark scripts as not usable inside a jail by adding keyword 'nojail'.pjd2004-03-0884-84/+84
| | | | Some suggestions from: rwatson, Ruben de Groot <mail25@bzerk.org>
* Fix skipping scripts with given keywords.pjd2004-03-081-3/+3
| | | | Proper syntax is '-s keyword1 -s keyword2', not '-s keyword1 keyword2'.
* Removed definition of NOPROG. It was just a style bug (a NetBSD macrobde2004-03-051-2/+0
| | | | | | that became obsolete in NetBSD 22 months ago). Submitted by: ru
* One tab too much.pjd2004-03-051-1/+1
|
* Teach 'hostname' script how to act inside a jail.pjd2004-03-051-4/+12
| | | | No objections from: mtm, arch@
* remove superfluous space before end of backtick expressionrse2004-03-051-1/+1
|
OpenPOWER on IntegriCloud