added delegation support (Herbert Poetzl)
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 31 Jan 2005 23:04:00 +0000 (23:04 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Mon, 31 Jan 2005 23:04:00 +0000 (23:04 +0000)
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

util-vserver/scripts/vshelper

index 3f75941..ae36f6d 100755 (executable)
@@ -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=