summaryrefslogtreecommitdiffstats
path: root/etc/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add single_mountd_enable hook to run mountd but not NFS serverache1999-11-145-0/+85
| | | | Needed for machine with CFS but without real NFS
* Make the firewall file variable space-safe.green1999-09-195-10/+10
|
* Add/adjust some $FreeBSD$ tags.peter1999-09-135-9/+4
| | | | Noted by: Doug <Doug@gorean.org>
* Apply a consistent style to most of the etc scripts. Particularly, usesheldonh1999-09-1317-2606/+3616
| | | | | | | | | case instead of test where appropriate, since case allows case is a sh builtin and (as a side-effect) allows case-insensitivity. Changes discussed on freebsd-hackers. Submitted by: Doug Barton <Doug@gorean.org>
* Add the net.inet.tcp.restrict_rst and net.inet.tcp.drop_synfin sysctldes1999-09-125-0/+50
| | | | | variables, conditional on the TCP_RESTRICT_RST and TCP_DROP_SYNFIN kernel options, respectively. See the comments in LINT for details.
* -background is also a legitimate ppp mode. Don't change it to -auto.peter1999-09-015-5/+10
|
* $Id$ -> $FreeBSD$peter1999-08-2714-14/+14
|
* Catch an extra X on DHCP.jkh1999-08-275-10/+10
| | | | Spotted by the eagle eyes of: Pierre DAVID <Pierre.David@prism.uvsq.fr>
* Small whitespace change to fix run-over lines introduced in the previoussheldonh1999-08-271-3/+3
| | | | | | commit. Reported by: bde
* Style clean-up:sheldonh1999-08-2515-366/+365
| | | | | | | | | | | | | | | | * All variables are now embraced: ${foo} * All comparisons against some value now take the form: [ "${foo}" ? "value" ] where ? is a comparison operator * All empty string tests now take the form: [ -z "${foo}" ] * All non-empty string tests now take the form: [ -n "${foo}" ] Submitted by: jkh
* ppp_alias -> ppp_natbrian1999-08-225-15/+15
| | | | Submitted by: Josef L. Karthauser <joe@FreeBSD.org.uk>
* Quieten ppp at startup.brian1999-08-195-10/+10
|
* Add net.inet.icmp.log_redirect and net.inet.icmp.drop_redirect, fordes1999-08-105-5/+55
| | | | | | | respectively logging and dropping ICMP REDIRECT packets. Note that there is no rate limiting on the log messages, so log_redirect should be used with caution (preferrably only for debugging purposes).
* Start ppp before natd, not afterwards.brian1999-07-265-90/+90
| | | | Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>
* Add a default ppp.conf (mode 600).brian1999-07-265-5/+90
| | | | | | | | | | | | Originally submitted by: Wayne Self <wself@cdrom.com> Allow a ppp startup option in rc.conf. Adjust sysinstall so that it appends to the end of ppp.conf and uses the generated profile to start ppp in auto mode on boot. Submitted by: Josef L. Karthauser <joe@uk.FreeBSD.org>
* Don't background pccardd, it nullfies the "-z" flag. pccardd itselfobrien1999-07-261-2/+2
| | | | daemonizes, lets just let things progress normally.
* Allow DHCP to be used in an ifconfig variable instead of the usualjkh1999-07-165-10/+35
| | | | | | address information, producing the obvious effect (dhcp configuration). Submitted by: "Sean O'Connell" <sean@stat.Duke.EDU>
* Tweak previous commit. Only sense the configuration if network_interfacespeter1999-07-085-15/+25
| | | | | is set to "auto". Any network_interfaces settings will be treated as before.
* Do away with ${network_interfaces} in rc.conf. Just use `ifconfig -l` topeter1999-07-075-15/+60
| | | | | | | | | get a list of interfaces, and then automatically configure them if ${ifconfig_${ifn}} or /etc/start_if.${ifn} exists. This makes it a lot easier to deal with machines that constantly change their network configuration as you can leave ifconfig settings for all the possible cards - just the ones that are present will be configured.
* Removed my name and (old) e-mail address from comments.hosokawa1999-07-071-6/+2
|
* Added pccard_conf parameter to /etc/rc.conf,hosokawa1999-07-071-0/+3
| | | | | | | and set it to "/etc/pccard.conf.sample" in /etc/defaults/rc.conf. Perhaps this default value can be inappropriate, but I set to this value for the convenience of PC-card boot.flp users. Please correct it if there are better solutions.
* Added "pccardd_flags" for rc.conf.hosokawa1999-07-041-2/+2
|
* If amd_flags is empty, don't add -p as it makes amd abend.brian1999-06-085-10/+35
|
* Don't discard error output from sysctl(8).bde1999-06-055-70/+80
| | | | | | | | | | Do discard standard output from the sysctl for approxy_all, and echo what this sysctl is doing in the usual way. This fix is probably backwards. We should probably just use the standard sysctl output in all cases (it needs to have a newline filtered out). Echo what the sysctls for nfs_reserved_port_only and nfs_access_cache are doing.
* Add handle to control global TCP keepalives and turn them on asphk1999-06-055-5/+30
| | | | | | | | | | | | | | | | | default. Despite their name it doesn't keep TCP sessions alive, it kills them if the other end has gone AWOL. This happens a lot with clients which use NAT, dynamic IP assignment or which has a 2^32 * 10^-3 seconds upper bound on their uptime. There is no detectable increase in network trafic because of this: two minimal TCP packets every two hours for a live TCP connection. Many servers already enable keepalives themselves. The host requirements RFC is 10 years old, and doesn't know about the loosing clients of todays InterNet.
* This has bitrotted to the state that it is no longer functional.markm1999-05-051-9/+1
| | | | | | | Make Mike Smith very happy by nuking the PCIC auto-load code. :-) NOTE - You will have to have PCIC in your kernel again!! You have been warned!!
* Use ``grep -w'' to prevent catching "pcic_pci"dima1999-05-041-2/+2
|
* Remove extraneous spacebrian1999-04-125-10/+10
| | | | PR: 11096
* Allow the user to specify a different firewall script than /etc/rc.firewall.des1999-04-105-15/+30
|
* Add two features:imp1999-03-286-5/+48
| | | | | | | | | | | | | log_in_vain: log_in_vain turns on logging for packets to ports for which there is no listener. rc.sysctl: A generic way to set sysctl values. It reads /etc/syslog.conf and sets values based on that. No /etc/syslog.conf has been checked in yet, and I've not added this to the makefile yet until I get more feedback. Reviewed by: -current, -hackers and bde especially
* Move natd from network_pass3 to network_pass1brian1999-03-245-80/+75
|
* - Mixup of kldstat arguments. Use '-i 1' instead of '-n 1' when checkingnate1999-03-171-2/+2
| | | | | | | | for the PCIC module in the kernel. { I promise this is the last commit! } Submitted by: "Sean O'Connell" <sean@stat.Duke.EDU>
* Whoops, fixed typos in PCIC loading command when I modified Sean'snate1999-03-171-2/+2
| | | | | | original patch. Submitted by: "Sean O'Connell" <sean@stat.Duke.EDU>
* Add a Q&D test before loading the pcic module to make sure there isn'tnate1999-03-171-3/+8
| | | | | | a compiled in one. Submitted by: "Sean O'Connell" <sean@stat.Duke.EDU>
* Add ${lpd_program} and ${portmap_program} as variables in rc.conf, withjfitz1999-03-115-10/+10
| | | | | | suitable defaults pointing to the FreeBSD-shipped versions. This will allow for easier integration of third-party replacements for these daemons. Reviewed by: Several members of -committers
* fix cosmetic ISDN startup problem mentioned in PR conf/9957hm1999-03-081-2/+6
|
* Use /etc/defaults/rc.conf everywhere, falling back to /etc/rc.confjkh1999-02-104-12/+16
| | | | as necessary (for half-assed upgrades).
* Revamp rc.diskless. Split into rc.diskless1 and rc.diskless2. providedillon1999-02-095-0/+256
| | | | | more opportunities for overriding. Clean up /etc/rc ( remove conf_dir, remove startup mount special cases, remove other special cases )
* Add bits useful to getting laptops going (my Libretto in particular)markm1999-02-041-1/+4
| | | | | Add ActionTec v.90 modem and Libretto Floppy to pccard database; Autoload pcic device.
* Add some special hooks for sppp(4) interfaces. In addition to thejoerg1999-01-135-5/+75
| | | | | | | | | | | normal ifconfig stuff, one might need to pass down authentication parameters for them. This is closely tied to Hellmuth's impending rc patches for ISDN, but sppp can also be used separately (thus it doesn't go directly into the planned ISDN section of rc.conf). Reviewed by: hm
* Integrate the ISDN subsystem into the /etc/rc frameworkhm1999-01-136-5/+74
| | | | Reviewed by: Joerg Wunsch
OpenPOWER on IntegriCloud