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

minor fixes + cleanup + update manpage

Ticket: CM-1438
Reviewed By:
Testing Done:

- simplified the dot generator
This commit is contained in:
roopa
2014-02-15 21:39:13 -08:00
parent 0ff44a76ac
commit 83c1f241fd
7 changed files with 58 additions and 54 deletions

View File

@@ -117,7 +117,7 @@ start)
set -f
exclusions=$(process_exclusions)
log_action_begin_msg "Configuring network interfaces"
if ifup -a $verbose --perfmode --force
if ifup -a $verbose --perfmode
then
log_action_end_msg $?
else
@@ -135,7 +135,7 @@ stop)
check_network_swap
log_action_begin_msg "Deconfiguring network interfaces"
if ifdown -a --exclude=lo $verbose --perfmode --force; then
if ifdown -a --exclude=lo $verbose --perfmode; then
log_action_end_msg $?
else
log_action_end_msg $?
@@ -160,7 +160,7 @@ force-reload)
ifupdown_init
log_action_begin_msg "Reloading network interfaces configuration"
if ifreload -a --force
if ifreload -a
then
log_action_end_msg $?
else
@@ -176,7 +176,7 @@ restart)
ifupdown_init
log_action_begin_msg "Reconfiguring network interfaces"
ifdown -a --exclude=lo $verbose --perfmode --force || true
ifdown -a --exclude=lo $verbose --perfmode || true
set -f
exclusions=$(process_exclusions)
if ifup -a --exclude=lo $verbose --perfmode