summaryrefslogtreecommitdiff
path: root/etc/netstart
AgeCommit message (Collapse)Author
2011-10-07The new ypbind changes requires that the domainname be set beforeTheo de Raadt
rc.conf is run. There's no real downside. ok aja
2011-07-07Eliminate some $? tests by rolling the command into the conditionPhilip Guenthe
ok halex@
2011-05-26Add svlan(4) startup bits.Marco Pfatschbacher
From markus@. OK naddy, claudio, reyk.
2011-02-09fix an unbalanced parenthesis in a comment; while here, split the commentIgor Sobrado
in a better place to make it more readable. ok jmc@ and miod@
2010-06-16permit e.g. -inet6 syntax by slurping all lines not just someTodd T. Fries
noticed by rhsv6 at hushmail dot com, ok sthen@
2010-01-12when setting up lo0 use 127.0.0.1/8 instead of 127.0.0.1 for clarity andHenning Brauer
correctness. it's not 1992 any more, kids. ok mcbride dlg krw
2009-12-10o stop reordering ifconfig arguments (e.g. after 'up ..')Todd T. Fries
o only stop processing if inet or inet6 lines are malformed o everything not a specially handled bit is passed to ifconfig unmangled noticed by several after the move from bridgename.bridge0 -> hostname.bridge0 prodded by deraadt@, tested by and feedback from several man page bits 'look fine' jmc@
2009-11-22Stop supporting bridgename.bridge* files, and move to hostname.bridge*Theo de Raadt
files. To cope with this change, read about the mv command. ok claudio todd
2009-09-17change variable i to $i in an expression of ifstart() for consistencySimon Bertrang
with the rest of the file. no functional change. feedback from sthen@, ok krw@
2009-07-10Delay creation of tun(4) interfaces until the underlying interface andJason Dixon
routes are available. This fixes usage for some OpenVPN users that start it from hostname.tun*. Tested by Johan Huldtgren. ok sthen@, johan@.
2008-11-25delay /etc/netstart until IPv6-DAD (dup-address-detection) is completed.Markus Friedl
ok fries, hshoexer, claudio
2008-08-14Tools from /usr may not be used in netstart since it may be NFS-mountedStuart Henderson
and not available at that time. Rewrite the hostname.if permission check to use only /bin/ls and the shell. Requested by deraadt. ok todd, "Twisted." deraadt
2008-07-23Prevent warning about insecure hostnames where no /etc/hostname.*Stuart Henderson
exists. From wcmaier@. Check target of symbolic links to avoid noise at boot and in seucrity output where you have several interfaces symlinked to one config file. "If you think this is the right thing to do" deraadt@
2008-06-09warn once not 3 times in case of a non existent file, discussed with deraadtTodd T. Fries
originally pointed out by Johan Torin
2008-06-09Ensure that hostname.* files are also re-chowned to root.wheel at eachTheo de Raadt
boot as discussed with claudio while eating tasty donairs. ok todd
2008-04-17before using them, force hostname.* files to be unreadable by worldTheo de Raadt
first version from todd, ok millert
2008-01-17Execute rtsol after turning up trunk(4) and vlan(4) interfaces so they'reBrad Smith
taken into consideration for rtsol. ok reyk@ dlg@
2008-01-09Do not bring up pfsync(4) before the working rulesetMarco Pfatschbacher
has been loaded. Otherwise, states that are received during the initial bulk update mismatch the correct pf-checksum and do not attach to the rules. Problem identified by david@. Fix done in collaboration. OK henning@
2007-08-02move the delay for IPv6 DAD to after all interfaces have startedDavid Krause
fixes problems with daemons being unable to bind to all addreses at boot ok itojun@ hshoexer@
2006-11-15reject multicast packet without scope identifier specified.Jun-ichiro itojun Hagino
2006-06-29do not add an extra space; nwid and description come out wrongTodd T. Fries
fix as proposed by maja@, thanks!
2005-12-28nuke extra whitespaceDavid Krause
2005-12-06multicast_host=YES only works if a valid default gateway is available.Reyk Floeter
validate this condition and reject multicast traffic on failure. ok todd@ naddy@
2005-11-02fix inspired by pr#4590Todd T. Fries
ok krw@
2005-10-25better logic from krw@:Todd T. Fries
- do not process mygate for v4 if dhcp - do not process mygate for v6 if rtsol this also makes the mygate processing logic more readable ok krw@
2005-10-14add v6 support for /etc/mygateTodd T. Fries
ok deraadt@ mickey@ krw@ same functionality tested/ok'ed by by mickey, brad, matthieu, and me with this one may now put a v6 IP in /etc/mygate on a separate line from the v4 default gateway and netstart will do the right thing
2005-10-12shrink stripcom(), sync with install.subTodd T. Fries
ok krw@
2005-10-04trunk must be started after physical ethernet devices, but before vlan.Todd T. Fries
populate ifmstart lines accordingly. prodded/tested by brad@ ok reyk@
2005-09-28use eval consistently, fixes description quotes on rtsol and dhcpTodd T. Fries
fix inspired by and closes pr 4495 ok krw@
2005-05-22Introduce 'ifmstart' to deal with starting multiple interfaces minus a listTodd T. Fries
of interfaces. This reduces the netstart script by 174 chars, 13 words, and 19 lines, but more importantly, makes it more simple and less cluttered should more special case/orderings be needed. ok brad@ and pr 4197 submitter, inspired by and closes pr 4197
2005-04-04unbreak; ok pval@Damien Miller
2005-04-03if dhcp is used to get an address on any interface, ignore /etc/mygateTheo de Raadt
ok krw (this lets us do something rather cool with the zaurus in particular)
2005-01-04Bring up the carp(4) interface before default route.Ryan Thomas McBride
ok pascoe@ mpf@
2004-12-30Add a copy of stripcom so /etc/netstart can be run standalone again.Todd C. Miller
OK deraadt@
2004-12-19Allow comments in /etc/{myname,mygate,defaultdomain}; OK deraadt@Todd C. Miller
2004-12-04remove "route $hostname 127.0.0.1" line. deraadt okJun-ichiro itojun Hagino
*** please update /etc/netstart and test if it works ok for you ***
2004-10-20make all route commands use -qn; ok mcbride henningTheo de Raadt
2004-05-29one last route command lacking -qnTheo de Raadt
2004-03-22Make sure pfsync is brought up before carp.Ryan Thomas McBride
ok deraadt@
2004-03-13Delay pfsync(4) configuration, as the syncif has to be configured inRyan Thomas McBride
advance. From Thorsten Lockert.
2004-01-14ok, it took quite a bit of prodding but itojun finally explained why theTheo de Raadt
extra sleep 1 is in here, and we came to the conclusion it is safe to delete it. whee.
2004-01-13repair v6 lo0 documentationTheo de Raadt
2004-01-11add loopback routes lateTheo de Raadt
2004-01-09create all routes with -q; markus okTheo de Raadt
2003-12-04Need to do "ifconfig create" for bridge interfaces too.Todd C. Miller
2003-12-03add support for ifconfig clone; from netbsd; ok deraadt, henningMarkus Friedl
2003-10-20delay carp initialization until after physical interfaces are configuredDavid Krause
ok mcbride@ henning@ deraadt@ todd@
2003-08-27only try to set hostname to what /etc/myname says if that file actually exists,Henning Brauer
otherwise preserve `hostname` netbooted machines can live perfectly fine without it; they get their hostname earlier. ok krw@ cedric@
2003-02-16Fix up some DNS verbiage to make it consistant.Kenneth R Westerback
Fix up default route selection by a) Forcing user to explicitly chose 'dhcp' as a mechanism for specifying a default route, rather than guessing based on one or more interfaces being configured by dhcp. b) If the user specified default route does not work, re-present the existing default route rather than losing it. c) Move default route selection to after nameserver activation so the user can specify a hostname as the default route. Change /etc/netstart so that /etc/mygate wins if a default route was already specified (i.e. by dhcp). ok deraadt@.
2002-05-16ignore non-existent cases where '$if' evaluates to '*'.Todd T. Fries
From André Lucas <andre@ae-35.com>, fixes pr # 2658. 'Looks good' from miod@, millert@, and krw@.