summaryrefslogtreecommitdiff
path: root/init.d/halt.sh.in
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2008-03-03 17:19:56 +0000
committerRoy Marples <roy@marples.name>2008-03-03 17:19:56 +0000
commit15cf41e7131cebbb74241180f36f59384c7a0477 (patch)
tree30accca041088b161a4d5cfcb731dcd40a496868 /init.d/halt.sh.in
parentf3e90dddbfcf838b653846cce7fd2be479c68900 (diff)
downloadopenrc-15cf41e7131cebbb74241180f36f59384c7a0477.tar.gz
openrc-15cf41e7131cebbb74241180f36f59384c7a0477.tar.bz2
openrc-15cf41e7131cebbb74241180f36f59384c7a0477.tar.xz
Split VPS into VSERVER and OPENVZ
Diffstat (limited to 'init.d/halt.sh.in')
-rw-r--r--init.d/halt.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/halt.sh.in b/init.d/halt.sh.in
index 39dd4f4..dca6815 100644
--- a/init.d/halt.sh.in
+++ b/init.d/halt.sh.in
@@ -27,7 +27,7 @@ sync; sync
# If we are in a VPS, we don't need anything below here, because
# 1) we don't need (and by default can't) umount anything (VServer) or
# 2) the host utils take care of all umounting stuff (OpenVZ)
-if [ "${RC_SYS}" = "VPS" ]; then
+if [ "${RC_SYS}" = "VSERVER" -o "${RC_SYS}" = "OPENVZ" ]; then
if [ -e /etc/init.d/"$1".sh ]; then
. /etc/init.d/"$1".sh
else