summaryrefslogtreecommitdiff
path: root/init.d/halt.sh.in
diff options
context:
space:
mode:
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