From efee4ebf43e376a7cd8b8abcef0c70aa90427bb4 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 1 Mar 2022 22:01:26 +0000 Subject: initial commit --- s6/base/run-image/service/wtmpd/run | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 s6/base/run-image/service/wtmpd/run (limited to 's6/base/run-image/service/wtmpd/run') diff --git a/s6/base/run-image/service/wtmpd/run b/s6/base/run-image/service/wtmpd/run new file mode 100755 index 0000000..79815bb --- /dev/null +++ b/s6/base/run-image/service/wtmpd/run @@ -0,0 +1,8 @@ +#!/bin/execlineb -P + +fdmove -c 2 1 +s6-setuidgid "utmp" +cd /run/utmps +fdmove 1 3 +s6-ipcserver -1 -c 1000 -- /run/utmps/.wtmpd-socket +utmps-wtmpd -- cgit v1.2.1