diff options
Diffstat (limited to 'repo/system/utmps.xibuild')
-rw-r--r-- | repo/system/utmps.xibuild | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/repo/system/utmps.xibuild b/repo/system/utmps.xibuild index 0d45319..c92c210 100644 --- a/repo/system/utmps.xibuild +++ b/repo/system/utmps.xibuild @@ -32,4 +32,14 @@ Requires.private: skalibs Libs: -lutmps Cflags: -I/usr/include/utmps EOF + + #ln -s utmps/wtmp /var/log/wtmp +} + +postinstall () { + useradd -c "utmps user" -d /run/utmps \ + -u 984 -g utmp -s /bin/false utmp + [ -d /var/log/utmps ] || mkdir -p /var/log/utmps + chown -R utmp:utmp /var/log/utmps + } |