From d915349328969ca06e81d6e338239d9ae35c4704 Mon Sep 17 00:00:00 2001 From: Benedikt Boehm Date: Fri, 27 Apr 2007 08:42:28 +0000 Subject: [PATCH] =?utf8?q?don't=20call=20/halt/reboot=20-f=20for=20gentoo?= =?utf8?q?=20init=20style,=20but=20rather=20just=20exit,=20since=20we=20wo?= =?utf8?q?uld=20be=20killed=20by=20vshelper,=20does=20not=20matter=20for?= =?utf8?q?=20reboot=20from=20inside:=20simple=20reboot=20won=C3=84t=20work?= =?utf8?q?=20with=20gentoo=20init=20style,=20must=20use=20reboot=20-f=20in?= =?utf8?q?side?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2535 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- distrib/gentoo/reboot.sh | 2 +- distrib/gentoo/shutdown.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 1.8.1.5