summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* Cosmetic changes to the previous commit, bringing it closer to what Ides2002-04-115-35/+35
| | | | already had in my tree but didn't want to commit.
* Since sshd expects /etc/ssh/ssh_host_rsa_key to exist, we had betterpeter2002-04-105-20/+45
| | | | | create it. Also specify protocol v1/v2 in case people wonder why we generate two RSA keys.
* Now, you can specify "" or "NONE" for ipv6_network_interfaces toume2002-04-061-6/+12
| | | | | | | | | prevent the interfaces from being initialized by /etc/rc.network6 wrongly. So, you can explicitly initialize the interfaces by /etc/pccard_ether. With previous rc.network6, if you specify pccardd_flags="-z", net.inet6.ip6.accept_rtadv was wronly set to 0, then RA was not accepted.
* The good news is that my initial PR was correct... the bad news is that Idougb2002-04-015-5/+25
| | | | | | | | | was apparently smoking something when I committed the last fix, because as ume was kindly enough to set me straight on, amd *will* start with no arguments at all, as long as there is an /etc/amd.conf file for it to read. What it won't do is start with *just* -p. In any case, now it's fixed.
* Don't try to generate ssh keys if ssh isn't installed.des2002-03-195-35/+55
|
* IPFilter may need to be re-sync'ed even if we are not filtering, butcjc2002-03-195-5/+15
| | | | | | | | only doing ipnat(8). Go back to using $ipfilter_active, but turn off $ipfilter_active when loading ipl.ko has failed. Submitted by: devet@devet.org (Arjan de Vet) MFC after: 3 days
* Distinguish between first and last passes of rc.sysctl, and only setdougb2002-03-171-1/+17
| | | | mibs whose values are not already what is specified in sysctl.conf.
* Answer the question posed in 1.126. amd won't start without either adougb2002-03-175-10/+55
| | | | | | | | conf file, or command line options. I brought this up in PR 12432, which (ironically) obrien assigned to me after I became a committer. :) PR: conf/12432 Submitted by: Me
* The reload of ipf(8) rules should depend on $ipfilter_enable, notcjc2002-03-125-10/+5
| | | | | | | $ipfilter_active. $ipfilter_enable is set to "NO" if modules fail to load, and $ipfilter_active can be "YES" when we are not using ipf(8). MFC after: 3 days
* Background the startup of `Amd', it often blocks on startup.obrien2002-03-125-10/+10
|
* Why shouldn't amd always write its PID to a file?obrien2002-03-125-30/+10
| | | | Since I cannot answer that question, make it.
* fix backwards spellingobrien2002-03-074-4/+4
|
* Redirect stdout of `ipf -y' to /dev/null. This removes a straydd2002-03-045-5/+5
| | | | | "filter sync'd" in the middle of the boot output if IPFilter is enabled, but does not hide any potential errors, which go to stderr.
* The usage of 'newaliases' needs to be after we know for sure that /usrobrien2002-02-235-5/+20
| | | | | | is mounted. Submitted by: rizzo
* The existing bazaar and site-specific policy in rc.diskless1 is Just Wrong;obrien2002-02-225-14/+20
| | | | | | | | and looks like no other Unix diskless configuration I've ever seen. Thus allow a more traditional /etc. Note, the use of an MFS /var should also be settable. Otherwise installing ports(packages) is just a total PITA.
* There is no reason to demand the administrator set 'natd_interface'cjc2002-02-205-25/+20
| | | | | | | | | | | | | when running natd(8) out of the rc-files. It is perfectly valid for the interface or alias address to be set in a natd(8) configuration file, not on the command line. Also, loosen up the restrictions on identifying an IP address argument in 'natd_interface.' Fix the documentation, rc.conf(5), to reflect this change. Take the bogus default for 'natd_interface' out of /etc/defaults/rc.conf. MFC after: 3 days
* peter points out that we probably should not mess with the sysctl(8)cjc2002-02-085-20/+25
| | | | | | | | | values at all if they are not purposefully set. What if the administrator messed with them in /etc/sysctl.conf? We don't want to overwrite them. If 'log_in_vain' is zero, do not force the issue. If it is non-zero, set it.
* Register amd's dependency on NFS.sheldonh2002-01-285-180/+255
| | | | | | | | This change was submitted to the freebsd-audit mailing list for review but received no feedback. Hindsight-enabled reviews are welcome. PR: conf/31358 Submitted: Thomas Quinot <thomas@cuivre.fr.eu.org>
* Make the rc.conf(5) 'log_in_vain' knob an integer.cjc2002-01-265-15/+60
| | | | | | | | | | Try this out in -CURRENT, MFC, and then consider dropping the 'log_in_vain' knob all together. It really is something for sysctl.conf(5). PR: bin/32953 Reviewed by: -bugs discussion MFC after: 1 week
* o Improve the line-wrapping of additional comments, some of which appearedrwatson2002-01-171-16/+11
| | | | to be wrapped around 60, others around 40 columns.
* o Remove a somewhat less comprehensible comment about modifying /etc/rc.rwatson2002-01-171-5/+2
| | | | o Improve line-wrapping of another comment for consistency.
* o Add a comment indicating that if /tmp==/var/tmp in rc.diskless2, therwatson2001-12-264-0/+16
| | | | | | | | md device and file system creation occurs *after* mtree is run, and as such an /var/tmp/* or /tmp/* entries will be under the mountpoint (or fail) rather than appearing in the md filesystems. This prevents the creation of vi.recover, and might affect other localizations that rely on the mtree calls affecting these directories.
* Remove incorrect comments about the population of /etc: no attempt isrwatson2001-12-261-5/+1
| | | | | made to copy the NFS-mounted on to /tmp/etc, instead, it is populated entirely from /conf/default, then overriden from /conf/IP.
* automatic creation of faith0 and stf0 for backward compatibility.ume2001-12-151-0/+2
| | | | MFC after: 2 days
* rpc.lockd needs rpc.statd to be running for it to start up properly.alfred2001-12-135-20/+75
| | | | | | | | | so swap the order. Also allow rpc.lockd and rpc.statd to be turned on if nfsclient is enabled. They are needed to provide client side locking support. PR: conf/27811
* s/sysctl -w/sysctl/ru2001-12-118-110/+110
|
* o Update rc.network to reflect the recent change of default in therwatson2001-12-075-15/+15
| | | | | | | | | | | kernel TCP timer code: rather than checking for tcp_keepalive being set to "YES", check for "NO" and turn off keepalives if the variable is set in that manner. o Note: eventually, it would make sense to remove this variable from rc.conf management, and instead rely on sysctl.conf. In fact, this is probably true of a number of rc.conf variables whose sole aim is to drive the setting of sysctls at boot time.
* Protect the '*' in pppoed_provider (the default) from metacharactercjc2001-12-065-0/+10
| | | | | | | | | | expansion in the rc-scripts. PR: 32552 Submitted by: Gleb Smirnoff <glebius@rinet.ru> Approved by: ru Obtained from: ru MFC after: 1 day
* Remeber to set the permissions on an md-backed /tmp to 01777, rather thanrwatson2001-11-274-0/+4
| | | | using the default of 0755.
* Spelling police: sucessful -> successful.dd2001-11-245-5/+5
|
* Resolve all the ipfilter startup issues in rc.network with one big patchdarrenr2001-11-245-295/+355
| | | | | | | | | to get it all right, allowing ipnat to be enabled independantly of ipfilter in rc.conf (among other things). PR: multiple Submitted by: Arjan de Vet <devet@devet.org> Reviewed by: Giorgos Keramidas <keramida@FreeBSD.org>
* The rtsol must be done before the alias processing.ume2001-11-201-9/+12
| | | | | | PR: conf/31366 Submitted by: gshapiro MFC after: 1 week
* Use shell functions for printing hex instead of printf(1) so thatsheldonh2001-11-191-2/+34
| | | | printf(1) can be dropped from the system shell as a shell builtin.
* Avoid unnecessary calls to expr(1) by using standard shell arithmeticsheldonh2001-11-1410-10/+10
| | | | expansion instead.
* Update the nsswitch.conf -> host.conf generator to handle criteria,fenner2001-11-075-50/+80
| | | | | | | | continuation lines, extra whitespace, and to use the last matching line in the file. This syncs the host.conf generation with how the nsswitch.conf is parsed. Only print " host.conf" instead of a multi-line message, since this happens on every boot.
* Modify the way host.conf and nsswitch.conf are treated at boot time:des2001-11-015-35/+170
| | | | | | | | - if nsswitch.conf exists, host.conf is auto-generated for compatibility with legacy applications and libraries. - if host.conf exists but nsswitch.conf does not, nsswitch.conf is auto- generated as usual.
* Do an ipf -y after bringing up ppp to ensure rules which mention ppp getdarrenr2001-10-205-0/+70
| | | | | | | matched. Moification on PR to handle ipnat not being dependant on ipfilter_enable PR: 22859
* Allow ipnat_enable to be set to "yes" without requiring ipfiltre_enable todarrenr2001-10-205-55/+80
| | | | | | be set to "yes" PR: 25223
* Put in place for using ipfs use on shutdown and startup.darrenr2001-10-205-0/+45
| | | | PR: 27070
* Handle the lack of nfs server or client support in the kernel bydougb2001-10-195-5/+60
| | | | kldload'ing the appropriate modules before enabling the service.
* Ensure that /var/log/lastlog exists so that login doesn't complain.bsd2001-10-174-0/+12
| | | | | Submitted by: Harti Brandt <brandt@fokus.gmd.de> MFC after: 2 weeks
* Remove references to nfsiod and nfs_client_flags now that they arejhb2001-10-105-5/+0
| | | | | | obsolete. Submitted by: Gordon Tetlow <gordont@gnf.org>
* Add a new rc.conf variable, cloned_interfaces, to create clonedbrooks2001-09-195-5/+50
| | | | interfaces at boot.
* The vfs.nfs.bufpackets sysctl is in the client, not the server. Move itpeter2001-09-195-45/+40
| | | | | to the client section. Turn off nfsiod, it no longer exists (now just kthreads). I need revisit nfsiod so that we have an argument passthrough.
* Make the 'echo' output for blanktime and scrnmap consistent with theirdd2001-08-311-2/+2
| | | | | variable names. There were minor differences in both cases, which were needlessly confusing and inconsistent.
* Fix minor typo.obrien2001-08-091-1/+1
|
* Merge in patch to automagically decide whether or not a kldload of ipfilterdarrenr2001-07-305-0/+65
| | | | | | | | | | is required into rc.network. Person failed to use a real name so both email addresses from PR included (Sent was different to From). PR: 22998 Submitted by: dl@leo.org/spock@empire.trek.org
* Upgraded launchpad for kerberos. Noe kerberos IV OR kerberos 5markm2001-07-285-45/+130
| | | | may be started at boot for kerberos servers.
* Do more strict checking for an interface.ume2001-07-201-3/+3
| | | | | Suggested by: matusita@jp.FreeBSD.org MFC after: 1 week
* - Avoid to select an interface which is not good for RA/RS.ume2001-07-191-2/+7
| | | | | Submitted by: sakane@kame.net - Avoid to select lo0 or faith for a default interface.
OpenPOWER on IntegriCloud