aboutsummaryrefslogtreecommitdiff
path: root/etc/netstart
Commit message (Collapse)AuthorAgeFilesLines
* Add hostid to the ranks.Dag-Erling Smørgrav2009-03-191-0/+1
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=190032
* Remove ISDN4BSD (I4B) from HEAD as it is not MPSAFE andBjoern A. Zeeb2008-05-261-1/+0
| | | | | | | | | | | | | | | | | | | | | parts relied on the now removed NET_NEEDS_GIANT. Most of I4B has been disconnected from the build since July 2007 in HEAD/RELENG_7. This is what was removed: - configuration in /etc/isdn - examples - man pages - kernel configuration - sys/i4b (drivers, layers, include files) - user space tools - i4b support from ppp - further documentation Discussed with: rwatson, re Notes: svn path=/head/; revision=179315
* Use 'quietstart' so as not to get spammed with informational diagnostics.Mike Makonnen2008-01-261-24/+26
| | | | Notes: svn path=/head/; revision=175682
* Remove reference to no longer existant /etc/rc.d/pccard.Brooks Davis2006-05-301-1/+0
| | | | | | | | PR: conf/98055 Submitted by: thierry herbelot <thierry at herbelot dot com> Notes: svn path=/head/; revision=159058
* Transforming "ppp-user" into just "ppp", step 4:Yaroslav Tykhiy2005-10-291-1/+1
| | | | | | | The legacy script "/etc/netstart" will start "ppp", not "ppp-user". Notes: svn path=/head/; revision=151843
* netstart is now obsoleted by /etc/rc.d/*, not by /etc/rc.network.Colin Percival2005-03-261-1/+1
| | | | | | | | Reported by: Martin Jakob, on freebsd-stable@ MFC after: 1 month Notes: svn path=/head/; revision=144153
* Run /etc/rc.d/routing at the appropriate time.Dag-Erling Smørgrav2004-02-101-0/+1
| | | | | | | Spotted by: mat Notes: svn path=/head/; revision=125664
* There is no network2 any more.Dag-Erling Smørgrav2003-10-131-1/+0
| | | | | | | Pointy hat to: mtm Notes: svn path=/head/; revision=121069
* We need pccard start too.Warner Losh2003-04-291-1/+1
| | | | Notes: svn path=/head/; revision=114225
* new netstartJohn W. De Boskey2003-04-291-35/+27
| | | | | | | | | atm should be correct but is commented out pending appropriate testing. Submitted by: mtm Notes: svn path=/head/; revision=114213
* Run network6_pass1 if ipv6_enable is YESBrian Somers2001-05-181-0/+15
| | | | Notes: svn path=/head/; revision=76803
* Fix a quoting problem I introduced.Doug Barton2000-12-261-2/+2
| | | | | | | | | Fix a tiny style problem while I'm here. Submitted by: knu Notes: svn path=/head/; revision=70378
* Apply a more consistent style to the echo statements in /etc/ scripts.Doug Barton2000-12-171-1/+1
| | | | | | | | | | | | | * 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
* Run rc.pccard from netstart so it works for us laptop users as well.Dag-Erling Smørgrav2000-12-161-0/+5
| | | | Notes: svn path=/head/; revision=70081
* Add copyright notices. Other systems have been barrowing our /etc filesDavid E. O'Brien2000-10-081-0/+25
| | | | | | | w/o giving any credit. Notes: svn path=/head/; revision=66830
* Add to defaults/rc.conf a new function source_rc_confs which rcSheldon Hearn2000-04-271-0/+1
| | | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=59674
* $Id$ -> $FreeBSD$Peter Wemm1999-08-271-1/+1
| | | | Notes: svn path=/head/; revision=50472
* Use /etc/defaults/rc.conf everywhere, falling back to /etc/rc.confJordan K. Hubbard1999-02-101-2/+4
| | | | | | | as necessary (for half-assed upgrades). Notes: svn path=/head/; revision=43849
* netstart should really only do phase 1 bringup, not start all the daemonsPaul Traina1997-07-051-3/+1
| | | | Notes: svn path=/head/; revision=27213
* Comment that this is no longer used and is only for convenience.Jordan K. Hubbard1997-05-181-1/+7
| | | | | | | Requested by: ache Notes: svn path=/head/; revision=25896
* Bring back /etc/netstart for those who are sitting in single user andJordan K. Hubbard1997-05-181-0/+22
| | | | | | | | | wish only to bring up their interfaces. This script is not actually called by any other script and exists purely for user convenience. Requested by: pst Notes: svn path=/head/; revision=25895
* Bring in rc file changes from -current.Jordan K. Hubbard1997-04-271-103/+0
| | | | Notes: svn path=/head/; revision=25184
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-231-1/+1
| | | | Notes: svn path=/head/; revision=23037
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* Add knobs for IPX.John Hay1996-11-051-1/+16
| | | | | | | 2.2 candidate? Notes: svn path=/head/; revision=19433
* Add rudimentry support for ifconfig'ing aliases at boot. Also allowPeter Wemm1996-10-271-2/+17
| | | | | | | start_if.<if> to do all the work instead if so configured. With examples. Notes: svn path=/head/; revision=19203
* Use the correct syntax for checking if /etc/rc.firewall exists.Mike Pritchard1996-04-061-2/+2
| | | | Notes: svn path=/head/; revision=15072
* Add skeleton firewall setup(s). Comments very welcome.Poul-Henning Kamp1996-04-031-1/+6
| | | | Notes: svn path=/head/; revision=15027
* Remove my previous bogus comment about the relationship between theJordan K. Hubbard1996-02-111-2/+2
| | | | | | | | | | | static_routes and defaultrouter variables. I'm glad I looked again, however, as I realized that setting static_routes to NO in the case of a defaultrouter would wind up with a bogus value for static_routes. It doesn't really hurt anything, but it's still wrong so I fixed it. I think this whole routing section of sysconfig needs a revisit - it's getting gross! Notes: svn path=/head/; revision=14018
* Close conf/1007 and take this opportunity to correct a few long-standingJordan K. Hubbard1996-02-091-5/+7
| | | | | | | | bogons with the way static_routes was being handled. Also document the fact that default_router overrides static_routes entirely. Notes: svn path=/head/; revision=14000
* Another round of spelling fixes.Mike Pritchard1996-01-311-2/+2
| | | | Notes: svn path=/head/; revision=13798
* echo setting of ${router} properly, e.g. between double quotes. :)Jordan K. Hubbard1996-01-081-2/+2
| | | | Notes: svn path=/head/; revision=13336
* New hack for configuring routers spawns two new variables:Jordan K. Hubbard1996-01-061-9/+3
| | | | | | | | | router=<some routed> routerflags=<startup flags> Submitted by: Paul Richards et al Notes: svn path=/head/; revision=13277
* Using csh constructs in shell scripts is a boo-boo.Paul Traina1996-01-021-2/+2
| | | | Notes: svn path=/head/; revision=13170
* Go to new scheme for local_startup variable. Now one can specify multipleJordan K. Hubbard1995-12-281-10/+6
| | | | | | | | | | | | | | directories to check in looking for port startup scripts. The specific gunge for apache httpd, gated and pcnfsd in /etc/sysconfig and /etc/netstart is gone now. Note that pcnfsd's troubles aren't necessarily over (and probably why NetBSD brought it into their sources) - anyone adding pcnfsd will STILL have to tweak /etc/sysconfig in order to set the new variable `weak_mountd_authentication' to YES. The flags to mountd are directly affected by pcnfsd's requirements for non-root mounts, unfortunately! :-( Submitted by: paul & jkh Notes: svn path=/head/; revision=13071
* Add missing quote.David Greenman1995-08-251-2/+2
| | | | | | | Submitted by: Morgan Davis <root@io.cts.com> Notes: svn path=/head/; revision=10252
* Add a "gateway" flag so that user can set up a gateway machine automaticallyJordan K. Hubbard1995-08-231-1/+6
| | | | | | | from sysinstall. Notes: svn path=/head/; revision=10184
* Change "sysctl -nw" to "sysctl -w" to make the output more informative.Satoshi Asami1995-06-251-3/+3
| | | | | | | Reviewed by: rgrimes Notes: svn path=/head/; revision=9309
* Reviewed by: bde, jkhRodney W. Grimes1995-05-171-12/+10
| | | | | | | | | | | | | | | | | | | | | | | Add comment that you should not have to edit netstart, and if you do we would like to know about it. The lo0 interface is now handled just like any other interface, This makes it possible to do things to it from sysconfig. Redo the comments in sysconfig about network_interfaces and ifconfig_${X} to reflect the moving of lo0 to this scheme. We now have an uncommented variable for sysintall to find and play with. (Your welcome Jordan) Redo the way static routes are handled. Basically use the same scheme for routes that I did for network interfaces. This allows any number of static routes to be added from sysconfig. Make sure we do the default route first so we stand a chance of getting to our DNS server (if we have one) to resolve our own IP address from $hostname. Notes: svn path=/head/; revision=8566
* Document the fact that almost all the user configuration stuff is nowJordan K. Hubbard1995-05-111-1/+5
| | | | | | | in /etc/sysconfig, per Luigi's suggestion. Notes: svn path=/head/; revision=8460
* Reviewed by: wollmanRodney W. Grimes1995-05-111-1/+11
| | | | | | | Add a knob to make it easy to turn off RFC 1323 and RFC 1644 options. Notes: svn path=/head/; revision=8455
* Add $defaultdomainname to sysconfig and use it in netstart to set theRodney W. Grimes1995-04-241-4/+3
| | | | | | | | | domainname. This eliminates /etc/defaultdomain. Correct tickadj, it should have been tickadjflags. Notes: svn path=/head/; revision=8052
* Call gated as /usr/local/sbin/gated instead of possible addingAndrey A. Chernov1995-04-121-2/+2
| | | | | | | /usr/local/sbin to rc PATH Notes: svn path=/head/; revision=7774
* Remove obsolete comments about my-name and my-network.Rodney W. Grimes1995-04-111-15/+14
| | | | | | | | | | | | | | | | | | | Have netstart directly source sysconfig so that it stands on its own. Do not source netstart in rc, run it with sh. Rework the dangerous /etc/hostname.* so that it uses a variable with a list of interfaces and a variable for each interface in that list. The files /etc/hostname.* become obsolete with this change, the information is now stored in /etc/sysconfig. Source any /etc/start_if.${ifn} files so they can export things to netstart (plans for future enhancements in this area.) Obsolete /etc/defaultrouter, this is now down with $defaultrouter from sysconfig. Notes: svn path=/head/; revision=7750
* This is a purely cosmetic clean up. Fix many cut and paste problems thatRodney W. Grimes1995-04-091-13/+13
| | | | | | | had turned tabs into spaces. Notes: svn path=/head/; revision=7708
* This is the rc work as provided by pts, I will me makeing some additionalRodney W. Grimes1995-03-301-98/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes to it based upon other outstanding bug reports and commits made after his work. Comments: (a) sysconfig is still used to do all configuration. I was not going to change that out from under you.... a user never need edit netstart or rc* unless they're being very weird. (b) rc.maint has been folded back into rc. It is just unworkable as a separate chunk because of ordering bogosities (c) netstart does what it says... it starts up enough of the network to get up, it doesn't start every bloody daemon that might talk to a socket... netstart ifconfig's the devices and sets up routing if configured to do so. (d) nfs disks are mounted immediately after netstart completes (e) syslog is started as early as possible (right after nfs) so that error messages can get logged to remote syslog servers properly (f) named is started (there is an argument that says that named should be started before syslogd because if you are the dns server for your domain, you'd like named to resolve remote hosts in syslog.conf, but this is a minority case and the trivial workarround is to put the syslog host in /etc/hosts or use an /etc/resolv.conf -- why? because you want syslog to catch named errors, which is a MUCH more important and likely occurance) (g) NOW all of the rest of the network daemons such as the time stuff, RPC, NIS, NFS, Kerberos and inetd are started (h) the rest of the generic stuff is done (cron/printer/sendmail) (i) shared libraries are set (j) /etc/rc.i386 is run (this does FreeBSD/386 specific stuff like ibcs2, xtend, and all of the syscons stuff (this is actually started as /etc/rc.`uname -m` (k) the syscons stuff has gotten a serious cleaning to make it consistent with rc conventions (l) rc.local has had the comments about syscons removed (they are not relevant to this file now) and the full name of the kernel has been restored to /etc/motd Submitted by: pts Notes: svn path=/head/; revision=7487
* History merge after repository restore of netstart,v:Rodney W. Grimes1995-03-291-17/+23
| | | | | | | | | | | | | | | | date: 1995/03/26 18:18:59; author: wpaul; state: Exp; lines: +23 -17 Make syslogd work again: in needs to be started in netstart right before the rest of the system daemons are brought up and *after* the network interfaces have been configured. Also fix one other potential problem: the NIS services need to be started relavively early since some of the other daemons might need them. The automounter is a good example: if you use amd with NIS-based maps, you'd better have NIS running before you start it. :) I think mountd might need it too, now that netgroups can be read via NIS as well. Notes: svn path=/head/; revision=7458
* History merge after repository restore of netstart,v:Rodney W. Grimes1995-03-291-2/+97
| | | | | | | | | date: 1995/03/23 01:25:18; author: jkh; state: Exp; Another pass through our rc files in an attempt to eliminate historical crufy and generally make all of this easier to understand and modify. Notes: svn path=/head/; revision=7456
* Begin a long-overdue cleanup of this whole mess.Jordan K. Hubbard1995-03-211-22/+1
| | | | | | | | | | | | | | 1. Move all system configuration variables into /etc/sysconfig 2. Adapt other files to use it. 3. Add a host of new variables for micro-managing your system in various ways. For 2.1, /etc/sysconfig will be machine-edited so that the user doesn't even have to care at all about the various funny names we picked. 4. Enable dset. We won't get it debugged if we never use it, and no one has said anything negative about it yet, so here goes! 5. Try to use one consistent style throughout. Notes: svn path=/head/; revision=7219
* Semi-major RC file cleanup:Garrett Wollman1995-03-161-1/+3
| | | | | | | | | | - Do ntp right - Move recenrly-added and long-standing junk from rc.local into rc, so . that rc.local truly is LOCAL. - Fix named invocation to use the correct boot file location. Notes: svn path=/head/; revision=7084