From: Enrico Scholz Date: Mon, 31 Jan 2005 23:04:00 +0000 (+0000) Subject: added delegation support (Herbert Poetzl) X-Git-Tag: IPSENTINEL_VERSION_0_12~159 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd0c1a718164f9802199d699337411f2ccb41921;p=util-vserver.git added delegation support (Herbert Poetzl) http://vserver.13thfloor.at/Experimental/NGNET/delta-vshelper-delegate.diff git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1835 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/util-vserver/scripts/vshelper b/util-vserver/scripts/vshelper index 3f75941..ae36f6d 100755 --- a/util-vserver/scripts/vshelper +++ b/util-vserver/scripts/vshelper @@ -143,6 +143,8 @@ else panic $"vshelper functionality not supported by kernel" fi +findObject -x delegate "$CONFDIR"/.defaults/apps/vshelper-delegate/"$ACTION" "$PKGLIBDIR"/vshelper-delegate/"$ACTION" '' +test -e "$delegate" && exec -a "$ACTION" "$delegate" "$@" this_xid=$($_VSERVER_INFO - XID) pxid=