summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xifenslave5
1 files changed, 0 insertions, 5 deletions
diff --git a/ifenslave b/ifenslave
index 21244cb..8110e8c 100755
--- a/ifenslave
+++ b/ifenslave
@@ -40,11 +40,6 @@ for i in $(cat /sys/class/net/bonding_masters) ; do
done
[ "$found" != 1 ] && die "$bondif is not a bonding master. Aborting"
-# check that $bondif is up
-if [ "$(cat /sys/class/net/$bondif/operstate)" != "up" ] ; then
- die "The specified master interface '$bondif' is not up"
-fi
-
while [ $# -gt 0 ] ; do
if [ "$OPER" = "+" ] && [ -d /sys/class/net/$1/master ] ; then
echo "Interface '$1' is already a slave. Skipping" >&2