From aff4398a22495dbe9e926f547e4e9570a92184f9 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Tue, 28 Nov 2006 17:42:38 +0000 Subject: [PATCH] Make non-sysv initstyles work again. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2410 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- scripts/vserver.functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/vserver.functions b/scripts/vserver.functions index 455dc1f..6d25458 100644 --- a/scripts/vserver.functions +++ b/scripts/vserver.functions @@ -250,7 +250,7 @@ function _generateInitOptions CHCONTEXT_INIT_OPTS=() - test -n "$INITSTYLE" || \ + test x"$INITSTYLE" = xrescue || \ getFileValue INITSTYLE "$cfgdir"/style getFileValue RUNLEVEL_START "$cfgdir"/runlevel getFileValue RUNLEVEL_START "$cfgdir"/runlevel.start -- 1.8.1.5