From 7f27f31b4e106b1b2b36f54e38ff491afa098d1f Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Thu, 28 May 2020 12:06:16 +0000 Subject: system/openrc: conditionalise post-install on sysinit runlevel The default runlevel is manipulated by s6-linux-init, which means our post-install script no longer runs on systems using s6 for init. This change uses the sysinit runlevel, which is not manipulated. --- system/openrc/openrc.post-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/openrc/openrc.post-install') diff --git a/system/openrc/openrc.post-install b/system/openrc/openrc.post-install index 0f6572ef7..9632de2ee 100644 --- a/system/openrc/openrc.post-install +++ b/system/openrc/openrc.post-install @@ -1,6 +1,6 @@ #!/bin/sh -if [ -d /etc/runlevels ]; then +if [ -d /etc/runlevels/sysinit ]; then exit 0 fi -- cgit v1.2.3-70-g09d2