summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorncopa <ncopa@f176ef85-8d20-0410-844a-e957b5a1c371>2007-06-14 14:59:44 +0000
committerncopa <ncopa@f176ef85-8d20-0410-844a-e957b5a1c371>2007-06-14 14:59:44 +0000
commit596f854acc15d129dfa3874d9e188fde8244a8fa (patch)
treeb5448d796eda69eb09ad37a057ac4b4204f5942d
parentb024e55f1322f49a32b693f7d064a8aa985f3053 (diff)
downloadalpine-baselayout-596f854acc15d129dfa3874d9e188fde8244a8fa.tar.bz2
alpine-baselayout-596f854acc15d129dfa3874d9e188fde8244a8fa.tar.xz
ifenslave:
dont check that bonding iface is up
-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