summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-09-23 17:16:01 +0000
committerLaurent Bercot <ska@appnovation.com>2024-09-23 17:16:01 +0000
commit4d2c607f0fea4fa08731e5e642152ec011b607f1 (patch)
treefb35251be1192238a4f4a1d4e4b128ffd87afdbd /examples
parent81ca09312ff77b9cedfb58ef25ab9b09160d6700 (diff)
downloadutmps-4d2c607f0fea4fa08731e5e642152ec011b607f1.tar.xz
Prepare for 0.1.2.3; install static libs in /usr/lib by default
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/s6/utmpd/run2
-rwxr-xr-xexamples/s6/wtmpd/run3
2 files changed, 2 insertions, 3 deletions
diff --git a/examples/s6/utmpd/run b/examples/s6/utmpd/run
index 21b0826..e996559 100755
--- a/examples/s6/utmpd/run
+++ b/examples/s6/utmpd/run
@@ -1,4 +1,4 @@
-#!/bin/execlineb -P
+#!/bin/execlineb -S1
fdmove -c 2 1
foreground { mkdir -p -m 0755 /run/utmps }
diff --git a/examples/s6/wtmpd/run b/examples/s6/wtmpd/run
index d8aba76..0375955 100755
--- a/examples/s6/wtmpd/run
+++ b/examples/s6/wtmpd/run
@@ -1,7 +1,6 @@
-#!/bin/execlineb -P
+#!/bin/execlineb -S1
fdmove -c 2 1
-unexport ?
s6-setuidgid utmp
cd /var/log # will only work after /var/log is mounted!
fdmove 1 3