From: Benedikt Boehm Date: Fri, 27 Apr 2007 08:42:28 +0000 (+0000) Subject: don't call /halt/reboot -f for gentoo init style, but rather just exit, since we... X-Git-Tag: release-0.30.214~70 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d915349328969ca06e81d6e338239d9ae35c4704;p=util-vserver.git don't call /halt/reboot -f for gentoo init style, but rather just exit, since we would be killed by vshelper, does not matter for reboot from inside: simple reboot wonÄt work with gentoo init style, must use reboot -f inside git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2535 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/distrib/gentoo/reboot.sh b/distrib/gentoo/reboot.sh index 06e6896..c5fcea9 100644 --- a/distrib/gentoo/reboot.sh +++ b/distrib/gentoo/reboot.sh @@ -2,4 +2,4 @@ # Distributed under the terms of the GNU General Public License v2 # gentoo init style needs this (and nothing else) -/sbin/reboot -f +exit 0 diff --git a/distrib/gentoo/shutdown.sh b/distrib/gentoo/shutdown.sh index be53971..c5fcea9 100644 --- a/distrib/gentoo/shutdown.sh +++ b/distrib/gentoo/shutdown.sh @@ -2,4 +2,4 @@ # Distributed under the terms of the GNU General Public License v2 # gentoo init style needs this (and nothing else) -/sbin/halt -f +exit 0