ip netns and nsenter no longer called by weave script

This commit is contained in:
Bryan Boreham committed 2017-04-17 19:41:47 +00:00
1 parent f479e57870
commit c929b2d5f9
1 file changed
-11
-11
View File
@@ -1559,17 +1559,6 @@ if ! command_exists ip ; then
exit 1
fi
if ! ip netns list >/dev/null 2>&1 ; then
echo "ERROR: $(ip -V) does not support network namespaces." >&2
echo " Please install iproute2-ss111010 or later." >&2
exit 1
fi
if ! command_exists nsenter ; then
echo "ERROR: nsenter utility missing. Please install it." >&2
exit 1
fi
[ $# -gt 0 ] || usage
COMMAND=$1
shift 1