diff options
Diffstat (limited to 'vshelper.netns')
-rwxr-xr-x | vshelper.netns | 10 |
1 files changed, 10 insertions, 0 deletions
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 "$@" |