summaryrefslogtreecommitdiff
path: root/system/utmps/wtmpd.run
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-15 00:38:18 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-15 00:38:18 -0500
commitaa63ef787e3fdd611599c6327733e2846a11315e (patch)
tree9a47cb3d791c0e642261c7a0b6d16ece65342618 /system/utmps/wtmpd.run
parenta12b74b878220dc796e4e4cb44d277466212113e (diff)
downloadpackages-aa63ef787e3fdd611599c6327733e2846a11315e.tar.gz
packages-aa63ef787e3fdd611599c6327733e2846a11315e.tar.bz2
packages-aa63ef787e3fdd611599c6327733e2846a11315e.tar.xz
packages-aa63ef787e3fdd611599c6327733e2846a11315e.zip
system/utmps: new package
Diffstat (limited to 'system/utmps/wtmpd.run')
-rw-r--r--system/utmps/wtmpd.run8
1 files changed, 8 insertions, 0 deletions
diff --git a/system/utmps/wtmpd.run b/system/utmps/wtmpd.run
new file mode 100644
index 000000000..ab5a40641
--- /dev/null
+++ b/system/utmps/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 -- .wtmpd-socket
+utmps-wtmpd