From e7dd09ca520768f6b55751f825085f743a99506f Mon Sep 17 00:00:00 2001 From: Roopa Prabhu Date: Tue, 28 Apr 2015 05:38:15 -0700 Subject: [PATCH] Fix ifreload man page to include the new behaviour where it does not down all changed interfaces Ticket: CM-5819 Reviewed By: trivial Testing Done: Tested man page (cherry picked from commit 93ecf73b22d317dcf2a0924030f34f008fc25c33) --- man.rst/ifreload.8.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/man.rst/ifreload.8.rst b/man.rst/ifreload.8.rst index 397a662..1956c50 100644 --- a/man.rst/ifreload.8.rst +++ b/man.rst/ifreload.8.rst @@ -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**