summaryrefslogtreecommitdiff
path: root/system/utmps/wtmpd.run
blob: fa78806c90240a612d7baaa03b26373d28b27104 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/execlineb -P

fdmove -c 2 1
if { mkdir -p -m 0755 /run/utmps }
if { chown utmp:utmp /run/utmps }
s6-setuidgid utmp
cd /run/utmps
fdmove 1 3
s6-ipcserver -1 -- .wtmpd-socket
utmps-wtmpd