redmine

Suppressed few errors

Showing 1 changed file with 4 additions and 1 deletions
... ... @@ -486,8 +486,11 @@ case "$CMD" in
# Creating bond-ifaces
if [[ "$D1Q_EXISTS" == 0 ]]; then #make all
echo "+$D1Q_IFACE" > /sys/class/net/bonding_masters
echo "+$D1Q_IFACE" > /sys/class/net/bonding_masters 2>/dev/null
if [[ -d /sys/class/net/"$D1Q_IFACE"/bonding ]]; then
echo "$MODE" > /sys/class/net/"$D1Q_IFACE"/bonding/mode
fi
for SLAVE in "${!SLAVES_VARIABLE}"; do
ip link set dev "$SLAVE" down #enslaved int should be shutted down
... ...