diff options
Diffstat (limited to 'system/s6/s6-svscanboot')
-rw-r--r-- | system/s6/s6-svscanboot | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/system/s6/s6-svscanboot b/system/s6/s6-svscanboot index 447a1a01b..8fa8ec5d5 100644 --- a/system/s6/s6-svscanboot +++ b/system/s6/s6-svscanboot @@ -40,6 +40,17 @@ if } +# Also link the early services defined in sysinit, if any + +if +{ + if -t { test -d /run/early-services } + forbacktickx -pnd"\n" i { ls -1 -U /run/early-services } + importas -u i i + ln -nsf ../early-services/$i /run/service/$i +} + + # Create the catch-all logger servicedir directly in the scandir # (It's too fundamental to be made configurable as an early service.) |