net:bonding small style change for readability
This commit is contained in:
parent
db1daa5857
commit
fd48bc09ff
@ -104,8 +104,9 @@ bonding_pre_start()
|
||||
fi
|
||||
for s in ${slaves}; do
|
||||
[ "${s}" = "${primary}" ] && continue
|
||||
grep -q ${s} $sys_bonding_path/slaves \
|
||||
|| echo "+${s}" >$sys_bonding_path/slaves
|
||||
if ! grep -q ${s} $sys_bonding_path/slaves; then
|
||||
echo "+${s}" >$sys_bonding_path/slaves
|
||||
fi
|
||||
done
|
||||
else
|
||||
/sbin/ifenslave "${IFACE}" ${slaves} >/dev/null
|
||||
|
Loading…
Reference in New Issue
Block a user