]> git.proxmox.com Git - mirror_ifupdown2.git/commitdiff
Fix ifreload man page to include the new behaviour where it does not
authorRoopa Prabhu <roopa@cumulusnetworks.com>
Tue, 28 Apr 2015 12:38:15 +0000 (05:38 -0700)
committerSam Tannous <stannous@cumulusnetworks.com>
Wed, 3 Jun 2015 17:13:38 +0000 (13:13 -0400)
down all changed interfaces

Testing Done: Tested man page
(cherry picked from commit 93ecf73b22d317dcf2a0924030f34f008fc25c33)
(cherry picked from commit 73d846c447d575a72822abd5ac5d5d758e9686e5)

ifupdown2/man.rst/ifreload.8.rst

index 397a662b12dbba8ed68131f92920c3e974c29eba..1956c50e9692c4aae758f96edd417f923cbbf67d 100644 (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**