summaryrefslogtreecommitdiffstats
path: root/etc
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* When this script included NetBSD specific logic, the NetBSD branchmtm2004-03-051-11/+0
| | | | | | | | | | included a start_precmd check for gated. The precommand was not executed in the FreeBSD branch. When I did a mass removal of NetBSD specific logic a while back this file apparently got only a partial treatement. This bug did not have any functional consequences, however, since the precommand was not declared to the rc.subr routines. Noticed by: pjd
* The syslogd script should require that /var is cleaned before it runs.mtm2004-03-051-1/+1
| | | | | | | Otherwise it could be in the situation where its log socket is removed after it has started. Noticed by: jhay
* Remove scripts we don't use from requirement lines. These weremtm2004-03-0511-11/+11
| | | | hold-overs from the initial NetBSD import.
* Removed include of bsd.own.mk. It was just a style bug (half-bakedbde2004-03-051-2/+0
| | | | chumminess with the implementation).
* Forgotten commit: Hook /etc/rc.d/ike up to the build.bms2004-03-041-0/+1
|
* Some (most?) processes don't cleanup their pid files whenmtm2004-03-031-1/+1
| | | | | | | | | | | they exit. Sometimes they simply can't (core-dump, for example). So, when searching for a running program send standard error output from ps(1) to never-never land. # This should quite those # ps: kvm_getprocs: No such user # errors. Since ports use a duplicate rc.subr(8) you might # still see this error from ports startup scripts.
* From the PR:mtm2004-03-032-0/+2
| | | | | | | | | Certain MTA configurations mean that the notifications from virecover keep bouncing; so here's a patch to allow administrators to turn them off. PR: conf/54910 Submitted by: bms (with a minor cleanup)
* Further shuffle runcom ordering so that netif does not start beforegreen2004-02-292-2/+2
| | | | ipfw, but ipfw and ipfilter do start before dhclient.
* Don't remove empty dirs if their names are in $daily_clean_tmps_ignoreache2004-02-281-3/+6
|
* What depends on ipfilter should probably also start ipfw at the same time.green2004-02-271-1/+1
|
* o Add support for detecting a jailed environment. If a scriptmtm2004-02-271-2/+4
| | | | | | | | | cannot or does not want to be executed in a jail the KEYWORDS line should contain the nojail keyword. o Update Copyright # I suggest people who use jails more extensively than I do # make commits to the appropriate files.
* NetBSD rev. 1.61mtm2004-02-271-6/+16
| | | | | | | | | | | | | | | | Implement ``one'' prefix to allow a "one shot" operation as if ${rcvar}=yes yet all the other prerequisite tests are still performed. The existing ``force'' prefix is a sledgehammer that ignores all the prerequisite checks and always returns a zero exit status; this is a more gentle approach to the problem of "manipulate this disabled service without editing rc.conf(5)". Obtained From: NetBSD # We have a work-around in our version of rc.subr that # makes force* return a non-zero exit status if the # command/service could not be acted upon. The work-around # is no longer necessary and should be removed.
* o NetBSD rev. 1.60mtm2004-02-261-2/+2
| | | | | | | | | Add "*,v" to the list of scratch files to skip. Suggested by Johnny Lam / Alistair Crooks o Update NetBSD rcsid Obtained From: NetBSD
* NetBSD rev. 1.57mtm2004-02-261-1/+1
| | | | | | | | run_rc_command(): when checking if ${command} exists before executing it, be sure to check under ${name_chroot} (if set). Fix from Ed Ravin in [bin/18523] Obtained From: NetBSD
* NetBSD rev. 1.56mtm2004-02-261-3/+3
| | | | | | | | Use more concise shell syntax: 1. for i in $* -> for i 2. foo=$* -> foo="$@" Obtained From: NetBSD
* NetBSD rev. 1.53, 1.54 and 1.55:mtm2004-02-261-7/+11
| | | | | | | | | | Change how internal boolean variables are used to: if ! ${_somevar:-false}; then _somevar=true fi (Consisent, slightly quicker, and slightly cleaner) Obtained from: NetBSD
* Add "posix" subdir to "gnu"ache2004-02-251-0/+2
|
* Fix typobrueffer2004-02-233-3/+3
|
OpenPOWER on IntegriCloud