Whitespace
This commit is contained in:
parent
44019f6542
commit
5d441dd376
@ -105,7 +105,7 @@ bonding_pre_start()
|
|||||||
local oiface
|
local oiface
|
||||||
oiface=$IFACE
|
oiface=$IFACE
|
||||||
if [ -n "${primary}" ]; then
|
if [ -n "${primary}" ]; then
|
||||||
IFACE=$primary
|
IFACE=$primary
|
||||||
_down
|
_down
|
||||||
IFACE=$oiface
|
IFACE=$oiface
|
||||||
echo "+${primary}" >$sys_bonding_path/slaves
|
echo "+${primary}" >$sys_bonding_path/slaves
|
||||||
@ -114,7 +114,7 @@ bonding_pre_start()
|
|||||||
for s in ${slaves}; do
|
for s in ${slaves}; do
|
||||||
[ "${s}" = "${primary}" ] && continue
|
[ "${s}" = "${primary}" ] && continue
|
||||||
if ! grep -q ${s} $sys_bonding_path/slaves; then
|
if ! grep -q ${s} $sys_bonding_path/slaves; then
|
||||||
IFACE=$s
|
IFACE=$s
|
||||||
_down
|
_down
|
||||||
IFACE=$oiface
|
IFACE=$oiface
|
||||||
echo "+${s}" >$sys_bonding_path/slaves
|
echo "+${s}" >$sys_bonding_path/slaves
|
||||||
|
@ -347,7 +347,7 @@ rc_config_load(const char *file)
|
|||||||
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
/* Only override rc.conf settings */
|
/* Only override rc.conf settings */
|
||||||
if(strcmp(file, RC_CONF) == 0) {
|
if (strcmp(file, RC_CONF) == 0) {
|
||||||
config = rc_config_override(config);
|
config = rc_config_override(config);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user