There are some strange code:
if ifup -a --exclude=lo; then
log_action_end_msg $?
else
log_action_end_msg $?
fi
both variants have exactly same code:
log_action_end_msg $?
Why need "if", "then", "else", "fi"? Why not simple:
ifup -a --exclude=lo
log_action_end_msg $?
There are 3 times such code in this file.
This file belongs to "netbase" 4.35ubuntu3