summaryrefslogtreecommitdiff
path: root/system/utmps/utmps.pre-install
blob: 6db960686cbc602a256615d88b44d246d1427a99 (plain) (blame)
1
2
3
4
5
6
#!/bin/sh

addgroup -S utmp 2>/dev/null
adduser -S -D -H -s /bin/false -G utmp -g utmp utmp 2>/dev/null
echo 'Run "rc-update add s6 default; rc-update add utmps default" to automatically start the utmpd and wtmpd services at boot time.' 1>&2
exit 0