From: Daniel Hokka Zakrisson Date: Tue, 28 Nov 2006 17:42:38 +0000 (+0000) Subject: Make non-sysv initstyles work again. X-Git-Tag: release-0.30.212~13 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aff4398a22495dbe9e926f547e4e9570a92184f9;p=util-vserver.git Make non-sysv initstyles work again. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2410 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- 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