summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
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