diff options
author | Roy Marples <roy@marples.name> | 2008-03-03 17:19:56 +0000 |
---|---|---|
committer | Roy Marples <roy@marples.name> | 2008-03-03 17:19:56 +0000 |
commit | 15cf41e7131cebbb74241180f36f59384c7a0477 (patch) | |
tree | 30accca041088b161a4d5cfcb731dcd40a496868 /init.d/halt.sh.in | |
parent | f3e90dddbfcf838b653846cce7fd2be479c68900 (diff) |
Split VPS into VSERVER and OPENVZ
Diffstat (limited to 'init.d/halt.sh.in')
-rw-r--r-- | init.d/halt.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/halt.sh.in b/init.d/halt.sh.in index 39dd4f4f..dca6815c 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 |