diff options
author | Laurent Bercot <ska-adelie@skarnet.org> | 2019-06-09 11:17:49 +0000 |
---|---|---|
committer | Luis Ressel <aranea@aixah.de> | 2019-07-22 00:44:05 +0200 |
commit | 2d5bb95bb096b535989210cbb3ce9fc9fc3dd9b9 (patch) | |
tree | 47207be4ed1841ba5fd4ca1e54541c84ed85c5dc /system/gettys-openrc/gettys.initd | |
parent | d3eb7058d8f66a7fa94c262314df4c95a76a36fc (diff) | |
download | packages-2d5bb95bb096b535989210cbb3ce9fc9fc3dd9b9.tar.gz packages-2d5bb95bb096b535989210cbb3ce9fc9fc3dd9b9.tar.bz2 packages-2d5bb95bb096b535989210cbb3ce9fc9fc3dd9b9.tar.xz packages-2d5bb95bb096b535989210cbb3ce9fc9fc3dd9b9.zip |
system/s6-linux-init-early-getty: new subpackage of s6-linux-init
Diffstat (limited to 'system/gettys-openrc/gettys.initd')
-rw-r--r-- | system/gettys-openrc/gettys.initd | 8 |
1 files changed, 6 insertions, 2 deletions
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 |