Added new condition for restart network interface.

Without this condition interface did't restarted, if it down.