summaryrefslogtreecommitdiff
path: root/init.d/network.in
Commit message (Collapse)AuthorAge
* create loopback serviceWilliam Hubbs2013-04-08
| | | | | The loopback service handles the basic settings for the loopback interface, regardless of the network manager you are using.
* Fix shebangs in services to point to the correct location of runscriptAndrew Gregory2013-02-23
| | | | | | | | SBINDIR and BINDIR can be set independently of PREFIX. This fixes broken shebangs in service files when SBINDIR is set to something other than PREFIX/sbin Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
* Rename shutdown_network setting to keep_networkWilliam Hubbs2013-02-11
| | | | | | | | | | | We were telling users that setting shutdown_network=YES would shut down the network interfaces during shutdown, but this was exactly the opposite of what we were doing. The default was YES, which was keeping the interfaces active. This keeps the default behavior, but renames the setting to keep_network which more accurately describes its function, and instructs users to set it to NO if they want the network interfaces to go down.
* do not provide a virtual for the loopbackWilliam Hubbs2012-08-25
| | | | | The loopback interface is active on all systems, so there is no need to provide a virtual for it.
* newnet: provide net if configuring more than the loopback interfaceWilliam Hubbs2012-08-24
|
* Bring Back prefix supportWilliam Hubbs2012-07-26
| | | | | We now have a team member who is interested in OpenRC on prefix, so I am bringing it back to the main tree.
* Revert "Deprecate the network and staticroute scripts"William Hubbs2012-07-08
| | | | | | | This reverts commit 5994e55937cbbb71b1c22ad829b77a1bcd8c3793. There are situations where these scripts can be useful, so I am bringing them back. Also, I want to start discussions about simplifying the OpenRC network stack.
* Remove prefix supportopenrc-0.9.9William Hubbs2012-02-21
| | | | | I spoke with the prefix team sometime back and was told that they do not have an interest in using OpenRC on prefix systems.
* make shell math operations style more succulentMike Frysinger2011-11-19
| | | | | | | | | | | Convert the style: var=$((${var} + 1)) to: : $(( var += 1 )) The latter is easier to read imo. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Deprecate the network and staticroute scriptsWilliam Hubbs2011-11-16
| | | | | | These scripts are not supported, and they have several major design issues such as not being able to stop, start or allow a dependency on a single interface.
* drop useless "All rights reserved" noticeMike Frysinger2011-06-29
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* more whitespace cleanupMike Frysinger2011-01-17
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* allow ip to be in /sbin or /binWilliam Hubbs2010-08-09
| | | | | This makes it possible for the "ip" program in iproute2 to be installed in /sbin or /bin.
* fix typoWilliam Hubbs2010-07-10
| | | | | I made a typo while manually transferring over Roy's last commit. This fixes that typo.
* remove extra routeWilliam Hubbs2010-07-07
| | | | This was taken from Roy Marples' git repository.
* Fix tentative ip addressesRoy Marples2010-03-24
|
* Release openrc-0.6.1openrc-0.6.1Roy Marples2010-03-22
|
* default route commands on Linux now require gw or via (iproute2).William Hubbs2009-12-19
|
* Support inet6 routes.Roy Marples2009-12-14
|
* Allow "dev eth0" to work for a default route.Roy Marples2009-12-14
|
* Fix restart with iproute2Roy Marples2009-12-14
|
* Don't add broadcast addresss to ipv6Roy Marples2009-12-14
|
* TypoRoy Marples2009-12-11
|
* Allow ip to add the default route.William Hubbs2009-12-10
| | | | Fixes #211.
* Ensure we have a valid broadcast address.Roy Marples2009-11-11
|
* Fix iproute2 support.William Hubbs2009-11-10
| | | | Fixes Gentoo #289762.
* Fix default domainRoy Marples2009-10-25
|
* Add domainname to the network scriptRoy Marples2009-10-16
|
* Ensure ip brings interface up when adding addresses.Roy Marples2009-10-15
| | | | Fixes Gentoo #288889
* We should use -feature instead of nofeature.Roy Marples2009-07-01
| | | | | | This matches the ifconfig and Gentoo USE flag syntax and is hopefully easier to read. Fixes #178.
* Add (c) to CopyrightRoy Marples2009-05-01
|
* Fix a brain fartRoy Marples2009-04-27
|
* Although the noshutdown keyword is nice, we shouldn't use it for network or ↵Roy Marples2009-04-27
| | | | dhcpcd. Instead fake network shutdown so it comes back up correctly at boot and KILL dhcpcd to preserve network.
* Add the noshutdown keyword to special case the shutdown.Roy Marples2009-04-27
|
* Style.Roy Marples2009-04-27
|
* Add the nostop keyword so that we don't stop the network init script by default.Roy Marples2009-04-26
|
* Don't report final eends for interfaces as they make no sense.Roy Marples2009-04-25
|
* Verbosely report vars correctly.Roy Marples2009-04-25
|
* Use shell_var for shell variables.Roy Marples2009-04-19
|
* StyleRoy Marples2009-04-19
|
* We should use $int for compat with NetBSDRoy Marples2009-04-19
|
* Pull /etc/ifconfig.eth0 into interfacesRoy Marples2009-04-19
| | | | | | Reverse list of interfaces when stopping Improve build for conf.d/network
* Add a new init script - networkRoy Marples2009-04-16
This simply assigns static addresses and an optional default route. It's possible to add external commands as well, so to create a bonded interface. Hopefully we can add a few examples to satisfy most of the old net.lo, which is no longer installed into boot by default.