aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.d
Commit message (Collapse)AuthorAgeFilesLines
* Create gif devices in the "gifconfig" stage while configuring them.Brooks Davis2001-07-025-5/+5
| | | | | | | | | Reviewed by: ru, ume Obtained from: NetBSD MFC after: 1 week Notes: svn path=/head/; revision=79107
* Add configuration for a FAITH IPv6-to-IPv4 TCP translator.Hajimu UMEMOTO2001-06-191-0/+29
| | | | | | | | To use a FAITH actually, you also need faithd(8) setup. Please consult faithd(8) manpage. Notes: svn path=/head/; revision=78475
* Fix misindented esac.Jens Schweikhardt2001-06-165-5/+5
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=78354
* This commit was generated by cvs2svn to compensate for changes in r78344,David E. O'Brien2001-06-1678-0/+2536
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=78345
| * Import the NetBSD 1.5 RC system.David E. O'Brien2001-06-1680-0/+2642
| | | | | | | | Note that `rc' and `rc.shutdown' could not be imported because we already have files with those names. Notes: svn path=/vendor/NetBSD/dist/; revision=78344
* Import the NetBSD 1.5 RC system.David E. O'Brien2001-06-162-0/+54
| | | | | | | | Note that `rc' and `rc.shutdown' could not be imported because we already have files with those names. Notes: svn path=/head/; revision=78344
* Sync with recent KAME.Hajimu UMEMOTO2001-06-116-25/+11
| | | | | | | | | | | | | | | | | | | | | This work was based on kame-20010528-freebsd43-snap.tgz and some critical problem after the snap was out were fixed. There are many many changes since last KAME merge. TODO: - The definitions of SADB_* in sys/net/pfkeyv2.h are still different from RFC2407/IANA assignment because of binary compatibility issue. It should be fixed under 5-CURRENT. - ip6po_m member of struct ip6_pktopts is no longer used. But, it is still there because of binary compatibility issue. It should be removed under 5-CURRENT. Reviewed by: itojun Obtained from: KAME MFC after: 3 weeks Notes: svn path=/head/; revision=78064
* Add a missing \nBrian Somers2001-06-105-5/+5
| | | | | | | | | Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> PR: 28014 MFC after: 1 week Notes: svn path=/head/; revision=77992
* Move gif_interfaces from an IP6 option to a regular IP option.Brian Somers2001-06-036-23/+115
| | | | | | | | | PR: 26543 Submitted by: Brooks Davis <brooks@one-eyed-alien.net> MFC after: 3 weeks Notes: svn path=/head/; revision=77651
* Remove vestiges of MFS.Ruslan Ermilov2001-06-014-4/+4
| | | | Notes: svn path=/head/; revision=77575
* Anti-foot-shooting for pcvt users: ignore isdn_screenflags which isJens Schweikhardt2001-05-191-0/+10
| | | | | | | | | | only for syscons. Requested by: Alexander Leidinger <Alexander@Leidinger.net> MFC after: 7 days Notes: svn path=/head/; revision=76846
* Restore the RSA host key to /etc/ssh/ssh_host_key.David E. O'Brien2001-05-185-40/+15
| | | | | | | Also fix $FreeBSD$ spamage in crypto/openssh/sshd_config rev. 1.16. Notes: svn path=/head/; revision=76820
* Link /etc/ssh/ssh_host_key to /etc/ssh/ssh_host_rsa_key to deal withJesper Skriver2001-05-165-10/+35
| | | | | | | | | | gratutious changes in the latest SSH Reviewed by: obrien Approved by: obrien Notes: svn path=/head/; revision=76695
* New option isdn_screenflags to set the syscons screen params for isdnd,Jens Schweikhardt2001-05-141-0/+12
| | | | | | | | | | | plus documentation. Submitted by: Alexander Leidinger <Alexander@Leidinger.net> Not objected to by: hm MFC after: 1 week Notes: svn path=/head/; revision=76592
* * Simplify the population of the /etc memory filesystem. To avoidBrian S. Dean2001-05-095-46/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the null mount, we currently create a temporary mfs on /tmp, copy /etc to /tmp, then mount /etc as mfs and copy everything back from /tmp, then delete the /tmp mfs. The patch eliminates the temporary /tmp mfs and the subsequent copying and simply populates the /etc mfs by copying from /conf/default/etc. This requires that /conf/default/etc contain a complete copy of all the /etc stuff instead of just overrides. I don't think that is too much of an extra step in setting up a diskless environment. * Provide the ability to make /tmp a memory filesystem independent of /var. This removes the requirement that /tmp be a symlink to /var/tmp and this makes the diskless code work with the default filesystem layout. If a seperate /tmp memory filesystem is created, the 'tmpsize' environment variable is used to determine its size (default to 10 Meg). * Reduce diffs between the -current and -stable versions of these files to a bare minimum. Only the definition of the shell function 'mount_md' is different. Not Objected to by: -arch@, -small@ MFC after: 2 days Notes: svn path=/head/; revision=76409
* s/ssh_host_key/ssh_host_rsa_key/ since that is what openssh uses nowPeter Wemm2001-05-095-10/+10
| | | | | | | after a mergemaster. Notes: svn path=/head/; revision=76400
* Don't mount a md(4) over /dev on DEVFS enabled diskless systems.Poul-Henning Kamp2001-05-014-20/+36
| | | | Notes: svn path=/head/; revision=76193
* Add an allscreens_kbdflags option. Same thing as allscreens_flags,Dima Dorfman2001-04-281-0/+9
| | | | | | | | | but runs kbdcontrol instead of vidcontrol. Reviewed by: ru Notes: svn path=/head/; revision=76110
* Enable static IPv6 address assignment on PCMCIA NIC.Hajimu UMEMOTO2001-04-261-2/+3
| | | | | | | PR: conf/26633 Notes: svn path=/head/; revision=76045
* Move to using md.Warner Losh2001-04-255-11/+47
| | | | | | | | | | | | o create a simple wrapper function mount_md that makes it easy to move from mount_mfs. # NOTE: you will need to MAKEDEV md[0123] in order for this to work. Reviewed by: bsd, keichii Notes: svn path=/head/; revision=75931
* Don't hardcode isdn_ttype overwriting rc.conf settings.Jens Schweikhardt2001-04-241-15/+1
| | | | | | | | | PR: conf/24865 Submitted by: schweikh Reviewed by: hm Notes: svn path=/head/; revision=75919
* MFS: the MFS still applies to -current until such time as someone fixesWarner Losh2001-04-244-60/+76
| | | | | | | | rc.diskless2 to use mdconfig rather than mount_mfs. These changes are still relevant to -current. Notes: svn path=/head/; revision=75898
* Eliminate the null mount for /etc for diskless clients.Brian S. Dean2001-04-201-31/+35
| | | | Notes: svn path=/head/; revision=75746
* Add mousechar_start hookAndrey A. Chernov2001-04-191-0/+7
| | | | | | | Reviewed by: Nick Hibma <n_hibma@qubesoft.com> Notes: svn path=/head/; revision=75708
* Change the order in which /etc files are copied into place; copyBrian S. Dean2001-04-031-5/+12
| | | | | | | | | default first, then network-specific files, then host-specific files. I think this was the original intent, as Matt indicated the previous code appeared to be a bug. Notes: svn path=/head/; revision=75101
* Axe TCP_RESTRICT_RST. It was never a particularly good idea except for a fewDag-Erling Smørgrav2001-03-195-35/+0
| | | | | | | | | | very specific scenarios, and now that we have had net.inet.tcp.blackhole for quite some time there is really no reason to use it any more. (second of three commits) Notes: svn path=/head/; revision=74493
* Bring in a hybrid of SunSoft's transport-independent RPC (TI-RPC) andAlfred Perlstein2001-03-195-560/+590
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | associated changes that had to happen to make this possible as well as bugs fixed along the way. Bring in required TLI library routines to support this. Since we don't support TLI we've essentially copied what NetBSD has done, adding a thin layer to emulate direct the TLI calls into BSD socket calls. This is mostly from Sun's tirpc release that was made in 1994, however some fixes were backported from the 1999 release (supposedly only made available after this porting effort was underway). The submitter has agreed to continue on and bring us up to the 1999 release. Several key features are introduced with this update: Client calls are thread safe. (1999 code has server side thread safe) Updated, a more modern interface. Many userland updates were done to bring the code up to par with the recent RPC API. There is an update to the pthreads library, a function pthread_main_np() was added to emulate a function of Sun's threads library. While we're at it, bring in NetBSD's lockd, it's been far too long of a wait. New rpcbind(8) replaces portmap(8) (supporting communication over an authenticated Unix-domain socket, and by default only allowing set and unset requests over that channel). It's much more secure than the old portmapper. Umount(8), mountd(8), mount_nfs(8), nfsd(8) have also been upgraded to support TI-RPC and to support IPV6. Umount(8) is also fixed to unmount pathnames longer than 80 chars, which are currently truncated by the Kernel statfs structure. Submitted by: Martin Blapp <mb@imp.ch> Manpage review: ru Secure RPC implemented by: wpaul Notes: svn path=/head/; revision=74462
* Add `ipv6_ifconfig_IFN_aliasN' directive to allow multiple aliases.Hajimu UMEMOTO2001-03-181-0/+9
| | | | | | | PR: conf/24239 Notes: svn path=/head/; revision=74418
* Alter the pccard setup a bit so that it looks prettier by redirectingJohn Baldwin2001-03-041-5/+5
| | | | | | | | | | pccardc's stdout to /dev/null and outputting short messages on succesful completion instead much like other rc scripts. Reviewed by: imp Notes: svn path=/head/; revision=73524
* - Don't try to send RA to lo0, gifN and faithN.Hajimu UMEMOTO2001-01-251-19/+5
| | | | | | | | | - ipv6_network_interfaces has all available interfaces to work for static configuration even if the host is end host. When rtsol is invoked, singleness of interface is checked. Notes: svn path=/head/; revision=71638
* Fix this to be more consistent with similar constructions elsewhereDoug Barton2001-01-141-1/+1
| | | | Notes: svn path=/head/; revision=71020
* Move the syscons configuration to a machine independent rc.syscons. TheJohn Baldwin2001-01-091-0/+176
| | | | | | | | syscons sh code was identical on both platforms except for whitespace differences. Notes: svn path=/head/; revision=70856
* * Add an eval so that ipnat_flags=">/dev/null" works, per the PRDoug Barton2000-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> Notes: svn path=/head/; revision=70129
* Apply a more consistent style to the echo statements in /etc/ scripts.Doug Barton2000-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 Notes: svn path=/head/; revision=70108
* Don't install route for fec0::/10. It was wrongly replaced fromHajimu UMEMOTO2000-11-141-3/+2
| | | | | | | | | ff02::/16 by me. PR: 22715 Notes: svn path=/head/; revision=68721
* - ipv6_prefix_* and ipv6_ifconfig_* work for end nodeHajimu UMEMOTO2000-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 Notes: svn path=/head/; revision=67906
* Fixed the reporting of ip_portrange_{first|last}.Ruslan Ermilov2000-10-125-10/+10
| | | | Notes: svn path=/head/; revision=67012
* Add copyright notices. Other systems have been barrowing our /etc filesDavid E. O'Brien2000-10-0820-14/+521
| | | | | | | w/o giving any credit. Notes: svn path=/head/; revision=66830
* This brings support for IP Filter into rc.network and rc.conf withDarren Reed2000-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> Notes: svn path=/head/; revision=66745
* Use su -m instead of just su to avoid reading the users login profileBrian Somers2000-09-285-5/+5
| | | | Notes: svn path=/head/; revision=66422
* Print "Enable PC-card." before anything else is done withAlexander Langer2000-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. Notes: svn path=/head/; revision=66298
* Make default interface work.Hajimu UMEMOTO2000-09-101-5/+4
| | | | | | | Obtained from: KAME Notes: svn path=/head/; revision=65701
* Add nsswitch support. By creating an /etc/nsswitch.conf file, you canJacques Vidrine2000-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 Notes: svn path=/head/; revision=65532
* Avoid doing rtsol to psuedo interface.Hajimu UMEMOTO2000-09-061-4/+8
| | | | | | | PR: bin/21062 Notes: svn path=/head/; revision=65509
* Fix a whitespace bogon.John Baldwin2000-08-165-5/+5
| | | | Notes: svn path=/head/; revision=64731
* Allow a ppp_user specification to run ppp at startupBrian Somers2000-08-105-40/+45
| | | | | | | PR: 20258 Notes: svn path=/head/; revision=64471
* Use shell matching instead of sed(1) to strip comments and blank lines.Chris Costello2000-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. Notes: svn path=/head/; revision=64446
* Fix an unmatched opening quote.Hajimu UMEMOTO2000-07-181-1/+1
| | | | | | | | PR: conf/20000 Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su> Notes: svn path=/head/; revision=63400
* Add to, don't overwrite, user-settable mountd_flags.Neil Blakey-Milner2000-07-145-5/+5
| | | | | | | | PR: conf/15745 Submitted by: Vivek Khera <khera@kciLink.com> Notes: svn path=/head/; revision=63147
* - Remove use of programs in /usr like sed as possible. In thisHajimu UMEMOTO2000-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. Notes: svn path=/head/; revision=62859