From 87e01d24830270c8c315f039de66d57c2b1a8c76 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 8 Feb 2015 23:49:44 +0100 Subject: Add vshelper with netns support. --- vshelper.netns | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 vshelper.netns (limited to 'vshelper.netns') diff --git a/vshelper.netns b/vshelper.netns new file mode 100755 index 0000000..9e59636 --- /dev/null +++ b/vshelper.netns @@ -0,0 +1,10 @@ +#! /usr/lib/x86_64-linux-gnu/util-vserver/sigexec /bin/bash + +: ${UTIL_VSERVER_VARS:=/usr/share/util-vserver/netns/util-vserver-vars} +test -e "$UTIL_VSERVER_VARS" || { + echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2 + exit 1 +} + +export UTIL_VSERVER_VARS +exec $_REAL_VSHELPER "$@" -- cgit v1.2.3-1-g7c22