summaryrefslogtreecommitdiff
path: root/system/utmps/btmpd.run
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2022-06-16 21:28:12 +0000
committerLaurent Bercot <ska-adelie@skarnet.org>2022-06-16 21:28:12 +0000
commit65355eb7145f09bbea6fb0ad93ae862a2f0385cd (patch)
treeb4c0eb13de6296bf2f6d2a6830e1f04153b98434 /system/utmps/btmpd.run
parenta8f9604ed485c973a6ba5fef3918a09d03ffc6c2 (diff)
downloadpackages-65355eb7145f09bbea6fb0ad93ae862a2f0385cd.tar.gz
packages-65355eb7145f09bbea6fb0ad93ae862a2f0385cd.tar.bz2
packages-65355eb7145f09bbea6fb0ad93ae862a2f0385cd.tar.xz
packages-65355eb7145f09bbea6fb0ad93ae862a2f0385cd.zip
Skaware.20220616
Diffstat (limited to 'system/utmps/btmpd.run')
-rw-r--r--system/utmps/btmpd.run8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/utmps/btmpd.run b/system/utmps/btmpd.run
new file mode 100644
index 000000000..56a5de77e
--- /dev/null
+++ b/system/utmps/btmpd.run
@@ -0,0 +1,8 @@
+#!/bin/execlineb -P
+
+fdmove -c 2 1
+s6-setuidgid utmp
+cd /var/log/wtmpd
+fdmove 1 3
+s6-ipcserver -1 -- /run/utmps/.btmpd-socket
+utmps-wtmpd btmp