aboutsummaryrefslogtreecommitdiff
path: root/sh/init-common-post.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'sh/init-common-post.sh.in')
-rw-r--r--sh/init-common-post.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sh/init-common-post.sh.in b/sh/init-common-post.sh.in
index 6001fe9c..96eeeeef 100644
--- a/sh/init-common-post.sh.in
+++ b/sh/init-common-post.sh.in
@@ -6,7 +6,7 @@
# the old service state data
: ${RC_LIBEXECDIR:=@LIBEXECDIR@}
: ${RC_SVCDIR:=@LIBEXECDIR@/init.d}
-case "$(rc --sys)" in
+case "$(openrc --sys)" in
OPENVZ|VSERVER) rm -rf "$RC_SVCDIR"/*;;
*) if mountinfo --quiet "$RC_SVCDIR"; then
rm -rf "$RC_SVCDIR"/*