From d1f7d886a4cc0dcccafcd0fd7523bcedbc35ce27 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Sun, 3 Jul 2005 13:19:45 +0000 Subject: [PATCH] execute the prepre script in the configuration directory (*not* the vdir directory); this should not cause legacy problems as formerly the directory was not changed overall git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2120 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/scripts/vserver.start | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/util-vserver/scripts/vserver.start b/util-vserver/scripts/vserver.start index 3dc6795..f3a8ff2 100644 --- a/util-vserver/scripts/vserver.start +++ b/util-vserver/scripts/vserver.start @@ -88,7 +88,11 @@ sanityCheck "$VSERVER_DIR" mountRootFS "$VSERVER_DIR" generateOptions "$VSERVER_DIR" + +pushd "$VSERVER_DIR" >/dev/null execScriptlets "$VSERVER_DIR" "$VSERVER_NAME" prepre-start +popd + enableInterfaces "$VSERVER_DIR" && have_interfaces=1 mountVserver "$VSERVER_DIR" && is_mounted=1 -- 1.8.1.5