From: Enrico Scholz Date: Sun, 3 Jul 2005 13:19:45 +0000 (+0000) Subject: execute the prepre script in the configuration directory (*not* the X-Git-Tag: version_0_30_210~161 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1f7d886a4cc0dcccafcd0fd7523bcedbc35ce27;p=util-vserver.git 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 --- 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