diff options
-rw-r--r-- | net/bonding.sh | 4 | ||||
-rw-r--r-- | src/librc/librc-misc.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net/bonding.sh b/net/bonding.sh index 21c00e36..7097a4dd 100644 --- a/net/bonding.sh +++ b/net/bonding.sh @@ -105,7 +105,7 @@ bonding_pre_start() local oiface oiface=$IFACE if [ -n "${primary}" ]; then - IFACE=$primary + IFACE=$primary _down IFACE=$oiface echo "+${primary}" >$sys_bonding_path/slaves @@ -114,7 +114,7 @@ bonding_pre_start() for s in ${slaves}; do [ "${s}" = "${primary}" ] && continue if ! grep -q ${s} $sys_bonding_path/slaves; then - IFACE=$s + IFACE=$s _down IFACE=$oiface echo "+${s}" >$sys_bonding_path/slaves diff --git a/src/librc/librc-misc.c b/src/librc/librc-misc.c index 6a5f598b..7e9a1091 100644 --- a/src/librc/librc-misc.c +++ b/src/librc/librc-misc.c @@ -347,7 +347,7 @@ rc_config_load(const char *file) #ifdef __linux__ /* Only override rc.conf settings */ - if(strcmp(file, RC_CONF) == 0) { + if (strcmp(file, RC_CONF) == 0) { config = rc_config_override(config); } #endif |