1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

Fix ifreload man page to include the new behaviour where it does not

down all changed interfaces

Testing Done: Tested man page
(cherry picked from commit 93ecf73b22d317dcf2a0924030f34f008fc25c33)
(cherry picked from commit 73d846c447d575a72822abd5ac5d5d758e9686e5)
This commit is contained in:
Roopa Prabhu
2015-04-28 05:38:15 -07:00
committed by Sam Tannous
parent 37592fc188
commit 71748f7b2b

View File

@@ -20,12 +20,15 @@ DESCRIPTION
===========
reloads network **interfaces(5)** file **/etc/network/interfaces**.
Runs **ifdown** on interfaces that changed in the interfaces file and
Runs **ifdown** on interfaces that were removed from the file and
subsequently runs **ifup** on all interfaces.
**ifreload** is equivalent to **ifdown -a** followed by **ifup -a**
but it skips **ifdown** for interfaces that did not change in the config
file.
When removing an interface (iface section) from the interfaces file
please make sure all its references are removed as well. Similarly
when renaming an interface, please make sure all references to the
interface are changed to the new name. Renaming an interface
in the interfaces file results in ifdown of the old and ifup
of the interface with the new name.
If you do not wish to execute **down** on any interfaces, but only **up** on
interfaces that were already **up**, please see the **--currently-up**