From 34850fd823da1e55d445c6b8c824ec08c68d5f0c Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 15 Jan 2023 12:35:39 +0000 Subject: system/utmps: upgrade to 0.1.2.1 --- system/utmps/utmps.initd | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'system/utmps/utmps.initd') diff --git a/system/utmps/utmps.initd b/system/utmps/utmps.initd index c6f884a52..6091bbb10 100644 --- a/system/utmps/utmps.initd +++ b/system/utmps/utmps.initd @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 2022 Adélie Linux +# Copyright 2022-2023 Adélie Linux description="boot script for the utmps wtmp and btmp services" @@ -13,18 +13,16 @@ depend() stop() { ebegin "Stopping the utmps wtmp and btmp services" - touch /run/service/wtmpd/down /run/service/btmpd/down - s6-svc -d /run/service/btmpd - s6-svc -d /run/service/wtmpd + s6-svc -D /run/service/btmpd + s6-svc -D /run/service/wtmpd eend $? } start() { ebegin "Starting the utmps wtmp and btmp services" - rm -f /run/service/wtmpd/down /run/service/btmpd/down s6-svlisten -U " /run/service/wtmpd" " /run/service/btmpd" "" \ - foreground " s6-svc" " -u" " /run/service/wtmpd" "" \ - s6-svc -u /run/service/btmpd + foreground " s6-svc" " -U" " /run/service/wtmpd" "" \ + s6-svc -U /run/service/btmpd eend $? } -- cgit v1.2.3-70-g09d2