From 2d5bb95bb096b535989210cbb3ce9fc9fc3dd9b9 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 9 Jun 2019 11:17:49 +0000 Subject: system/s6-linux-init-early-getty: new subpackage of s6-linux-init --- system/gettys-openrc/gettys.initd | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'system/gettys-openrc/gettys.initd') diff --git a/system/gettys-openrc/gettys.initd b/system/gettys-openrc/gettys.initd index 5181d9af2..a1fbb2082 100644 --- a/system/gettys-openrc/gettys.initd +++ b/system/gettys-openrc/gettys.initd @@ -47,8 +47,12 @@ start() { for i in $GETTYS ; do if test -c /dev/"$i" ; then - makeservice "$i" - ln -nsf "/var/lib/s6/services/getty-$i" "/run/service/getty-$i" + if test -d "/etc/s6-linux-init/current/run-image/service/getty-$i" ; then + : + else + makeservice "$i" + ln -nsf "/var/lib/s6/services/getty-$i" "/run/service/getty-$i" + fi fi done -- cgit v1.2.3-60-g2f50