summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* Fix this to be more consistent with similar constructions elsewheredougb2001-01-141-1/+1
|
* Move the syscons configuration to a machine independent rc.syscons. Thejhb2001-01-091-0/+176
| | | | | syscons sh code was identical on both platforms except for whitespace differences.
* * Add an eval so that ipnat_flags=">/dev/null" works, per the PRdougb2000-12-175-15/+25
| | | | | | | * Do some line length and specify full path cleanups while I'm here PR: conf/22937 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
* Apply a more consistent style to the echo statements in /etc/ scripts.dougb2000-12-1711-116/+117
| | | | | | | | | | * Put quotes around each line * Single quotes for lines with no variable interpolation * Double quotes if there is * Capitalize each word that begins a line * Make echo -n 'Doing foo:' ... echo '.' more of a standard No functionality changes
* Don't install route for fec0::/10. It was wrongly replaced fromume2000-11-141-3/+2
| | | | | | ff02::/16 by me. PR: 22715
* - ipv6_prefix_* and ipv6_ifconfig_* work for end nodeume2000-10-291-109/+213
| | | | | | | | | | | | | | - rtsol should be work for only one interface - new variable ipv6_defaultrouter is added - option name of rtadvd in comment are corrected - ipv6_firewall_enable, ipv6_firewall_type, ipv6_firewall_script, ipv6_firewall_logging are added to introduce rc.firewall6. IPv6 firewall rule is just starting point and should be brushed up. This commit includes PR18621, PR21694, PR22051. PR: conf/18621, conf/21694, conf/22051 Reviewed by: asmodai
* Fixed the reporting of ip_portrange_{first|last}.ru2000-10-125-10/+10
|
* Add copyright notices. Other systems have been barrowing our /etc filesobrien2000-10-0820-14/+521
| | | | w/o giving any credit.
* This brings support for IP Filter into rc.network and rc.conf withdarrenr2000-10-065-0/+155
| | | | | | | | | | | | the appropriate documentation added to rc.conf(5). If all goes well with this over the next few weeks, the PR will be closed with the pullup of patches back to 4-STABLE. PR: 20202 Submitted by: Gerhard Sittig <Gerhard.Sittig@gmx.net> Reviewed by: Darren Reed <darrenr@freebsd.org> Approved by: Darren Reed <darrenr@freebsd.org> Obtained from: Gerhard Sittig <Gerhard.Sittig@gmx.net>
* Use su -m instead of just su to avoid reading the users login profilebrian2000-09-285-5/+5
|
* Print "Enable PC-card." before anything else is done withalex2000-09-231-1/+2
| | | | | | | | PC-card stuff. Also print a NEWLINE (!!) after that. I'm driving mad each time when I see messages related to pccard before "Enable PC-card." and particulary when I see "Doing initial network setup". on the same line w/o a break.
* Make default interface work.ume2000-09-101-5/+4
| | | | Obtained from: KAME
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you cannectar2000-09-065-0/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | configure FreeBSD so that various databases such as passwd and group can be looked up using flat files, NIS, or Hesiod. = Hesiod has been added to libc (see hesiod(3)). = A library routine for parsing nsswitch.conf and invoking callback functions as specified has been added to libc (see nsdispatch(3)). = The following C library functions have been modified to use nsdispatch: . getgrent, getgrnam, getgrgid . getpwent, getpwnam, getpwuid . getusershell . getaddrinfo . gethostbyname, gethostbyname2, gethostbyaddr . getnetbyname, getnetbyaddr . getipnodebyname, getipnodebyaddr, getnodebyname, getnodebyaddr = host.conf has been removed from src/etc. rc.network has been modified to warn that host.conf is no longer used at boot time. In addition, if there is a host.conf but no nsswitch.conf, the latter is created at boot time from the former. Obtained from: NetBSD
* Avoid doing rtsol to psuedo interface.ume2000-09-061-4/+8
| | | | PR: bin/21062
* Fix a whitespace bogon.jhb2000-08-165-5/+5
|
* Allow a ppp_user specification to run ppp at startupbrian2000-08-105-40/+45
| | | | PR: 20258
* Use shell matching instead of sed(1) to strip comments and blank lines.chris2000-08-091-8/+10
| | | | | | | Since it doesn't depend on anything in /usr, it should work with a NFS-mounted /usr partition. Thanks to Bruce Evans to bringing this to my attention.
* Fix an unmatched opening quote.ume2000-07-181-1/+1
| | | | | PR: conf/20000 Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
* Add to, don't overwrite, user-settable mountd_flags.nbm2000-07-145-5/+5
| | | | | PR: conf/15745 Submitted by: Vivek Khera <khera@kciLink.com>
* - Remove use of programs in /usr like sed as possible. In thisume2000-07-091-28/+57
| | | | | | | | | time, I have no idea if there is equivalence of printf. So, stf setup still depends on /usr. In addition, prefix(8) and gifconfig(8) are in /usr/sbin. Should we move these into /sbin? - Sync with latest stf behavior. Latest stf doesn't have link-local address. And, latest stf is not gif but stf.
* Add ip_portrange_first and ip_portrange_last rc.conf/rc.networkdillon2000-06-225-0/+95
| | | | | | | options. This allows you to set the standard dynamic port assignment range prior to any network daemons (like named) starting up, necessary if you are also using a firewall to restrict lower ports. will be MFC'd in a few days
* Add ipsec_enable and ipsec_file options to run IPSEC's setkey programdillon2000-05-165-0/+55
| | | | with the specified configuration file at the appropriate time.
* Remove extraneous ";;" in previous commitkris2000-05-155-5/+0
| | | | Submitted by: jedgar
* Create a DSA host key if one does not already exist, and teach sshd_configkris2000-05-155-5/+30
| | | | about it.
* Add firewall_logging knob to enable/disablle events logging, disabledache2000-05-065-0/+50
| | | | | by default. Needed mainly for ipfw kernel module to enable logging disabled there.
* Add to defaults/rc.conf a new function source_rc_confs which rcsheldonh2000-04-274-0/+4
| | | | | | | | | | | | | | | | | scripts may use to source safely overrides in ${rc_conf_files} files. This protects users who insist on the bad practice of copying /etc/defaults/rc.conf to /etc/rc.conf from a recursive loop that exhausts available file descriptors. Several people have expressed interest in breaking this function out into its own shell script. Anyone who wants to embark on such an undertaking would do well to study the attributed PR. PR: 17595 Reported by: adrian Submitted by: Doug Barton <Doug@gorean.org>
* Removed unnecessary comma in stf addr printf in hex format,shin2000-04-061-1/+1
| | | | | | which I mysteriously added. Submitted by: ume
* Avoid using sed and awk in configure script.shin2000-03-281-4/+6
| | | | | | TODO: also replace other sed and awk usages. Submitted by: wollman
* Add a configuration options which enable/disable IPv4 mapped IPv6 addrshin2000-03-281-0/+11
| | | | | | support. Suggested and Reviewed by: ume
* Add a sysctl to specify the amount of UDP receive space NFS shoulddillon2000-03-275-0/+25
| | | | | | | | | | | reserve, in maximal NFS packets. Originally only 2 packets worth of space was reserved. The default is now 4, which appears to greatly improve performance for slow to mid-speed machines on gigabit networks. Add documentation and correct some prior documentation. Problem Researched by: Andrew Gallatin <gallatin@cs.duke.edu> Approved by: jkh
* IPv6 related configuration updates.shin2000-03-121-3/+66
| | | | | | | | | | | | | | | - 6to4(stf) interface configuration. - Static route configuration. - Comment additions. - Replaced a still existed '@' to '%' in IPv6 scoped addr format. (This became necessary as previous IPv6 scoped addr format change.) Much thanks to ume, who helped me reviewing, testing, and finding problems with these changes. Approved by: jkh Reviewed by: ume
* Prevent multicast packets from being sent over stf0 interface,shin2000-03-111-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | to avoid error messages printed on /var/log/messages. Recently added "stf" interface has IFF_MULTICAST bit set, because IPv6 don't work on non IFF_MULTICAST set interfaces in current implementation. But "stf" interface is multi-dest IPv6 over IPv4 tunnel, so can't treat multicast packet with no special configuration. On the other hand, tools like "rtadvd", "pim6dd", "pim6sd" send messages on IFF_MULTICAST set interfaces by default. So there will be many bogus error message on /var/log/messages, that multicast packets sent to "stf0" failed. So, -strip "stf0" from rtadvd sending interfaces in rc.network6 ("rtadvd" is a daemon used only for local subnet, so it will never need to send its packets over "stf0" interfaces.) -Add default configuration files for "pim6dd" and "pim6sd", and disable "stf0" in those files. Approved by: jkh
* cosmetic fix - add a space.jkh2000-02-295-5/+5
|
* Get the order of things right; the keys need to be generatedmarkm2000-02-285-20/+0
| | | | | early to allow entropy to replenish. sshd must start late to catch the full effects of ldconfig.
* Generate new sshd host key when necessary. I'm tired ofjkh2000-02-285-5/+35
| | | | waiting for someone to commit this. :)
* Run sshd at boot time if the sysadmin wants it. Also installmarkm2000-02-245-0/+35
| | | | ssh[d] config files in the right place.
* -Remove IPv6 initialization failed interfaces from the list ofshin2000-02-241-3/+21
| | | | | | | | | interfaces passed to rtadvd -Comment out example sentences more completely -Redirect error message of ifconfig output into /dev/null, to correctly find out working IPv6 interfaces Approved by: jkh
* -Removed unnecessary use of awk.shin2000-02-241-5/+5
| | | | | | | | -small comment fix. Approved by: jkh Submitted by: Chris Costello <chris@calldei.com>
* Add IPv6 configuration scripts.shin2000-02-231-0/+246
| | | | | | | | | | | Initial version created by, and kindly much tested by: bmah@CA.Sandia.GOV (Bruce A. Mah) Approved by: jkh Reviewed by: bmah@CA.Sandia.GOV (Bruce A. Mah), Ollivier Robert <roberto@keltia.freenix.fr> Obtained from: KAME project
* No arguments needed for fore_dnld any longer.phk2000-02-155-5/+5
| | | | Approved by: jkh
* Approved by: jkhhm2000-02-065-50/+50
| | | | | | | | | | | Reviewed by: joerg The isdnd is able to listen on a socket for isdnmonitor to connect to it to remotely control it (similar to ppp and pppctl). When this is enabled in the isdnd config file, it will fail currently because isdnd is started before the network interfaces are configured. It is necessary to move the isdnd start after the ifconfig of the network interfaces, then this problem will not occur.
* Add and document support for handling comments and blank lineschris2000-01-161-3/+6
| | | | | | in /etc/sysctl.conf. Reviewed by: imp, jkh
* This is another in Martin Blapp's N-series of mount-related cleanups :)green2000-01-155-0/+35
| | | | | | | | | | | | | Changes are: - rpc.umntall is called at the right places now in /etc/rc* - rpc.umntall timeout has been lowered from two days (too high) to one - verbose messages in rpc.umntall have been clarified - kill double entries in /var/db/mounttab when rpc.umntall is invoked - ${early_nfs_mounts} has been removed from /etc/rc - patched mount(8) -p to print different pass/dump values for ufs filesystems. (last patch recieved from dan <bugg@bugg.strangled.net>) Submitted by: Martin Blapp <mbr@imp.ch>, dan <bugg@bugg.strangled.net>
* Cleanup diskless support in current, mostly aligning it to the oneluigi2000-01-065-99/+104
| | | | | | in the 3.x branch. Also remove the dependency on /usr to find the boot address/interface. Mostly-submitted-abd-tested-by: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
* xntpd -> ntpd.roberto1999-12-175-5/+5
| | | | Submitted by: ru
* Suport multiple ``ifconfig_*?="DHCP"'' configurations.obrien1999-12-125-55/+95
| | | | | | | | | Currently we have a problem in that `dhclient' bails when configuring the second interface as port 68 is already in use (by the `dhclient' started for the first interface). PR: 14810 Submitted by: n_hibma
* Now that pccardc beep actually works, add knob for it in rc.conf/rc.pccardimp1999-12-021-0/+4
| | | | Submitted by: sanpei@sanpei.org (MIHIRA-san Yoshiro)
* Oops, typobrian1999-11-235-5/+5
|
* Add pppoed startup optionsbrian1999-11-235-0/+50
|
* Add network pass4 - after all local (/usr/local/etc/rc.d f.e.)ache1999-11-175-50/+80
| | | | | | daemons started. Move log_in_vain option there. It is needed to avoid lot of connections to port 80 logged on production WWW server prior Apache started from /usr/local/etc/rc.d
OpenPOWER on IntegriCloud