From: Daniel Hokka Zakrisson Date: Mon, 20 Nov 2006 15:15:12 +0000 (+0000) Subject: Use --rescue-init. X-Git-Tag: release-0.30.212~33 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=175a363efcb2c8f0a32f8c6ccc69093a66633027;p=util-vserver.git Use --rescue-init. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2390 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/distrib/redhat/initpost b/distrib/redhat/initpost index 668b822..81ca09f 100755 --- a/distrib/redhat/initpost +++ b/distrib/redhat/initpost @@ -44,7 +44,7 @@ vserver=$1 ## Do some magic to set the vserver into a defined state $_VSERVER "$vserver" stop &>/dev/null || : -$_VSERVER "$vserver" start --rescue bash -c ' +$_VSERVER "$vserver" start --rescue --rescue-init bash -c ' exec >/dev/null exec 2>/dev/null