diff options
Diffstat (limited to 'sh')
-rw-r--r-- | sh/init-common-post.sh.in | 2 | ||||
-rw-r--r-- | sh/init.sh.Linux.in | 2 |
2 files changed, 2 insertions, 2 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"/* diff --git a/sh/init.sh.Linux.in b/sh/init.sh.Linux.in index 09bcbdb6..9054978a 100644 --- a/sh/init.sh.Linux.in +++ b/sh/init.sh.Linux.in @@ -37,7 +37,7 @@ fi # /run is a new directory for storing volatile runtime data. # Read more about /run at https://lwn.net/Articles/436012 -sys="$(rc --sys)" +sys="$(openrc --sys)" if [ ! -d /run ]; then if [ "$sys" = VSERVER ]; then |