#!/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