summaryrefslogtreecommitdiff
path: root/system/utmps/utmps.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'system/utmps/utmps.pre-install')
-rw-r--r--system/utmps/utmps.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/system/utmps/utmps.pre-install b/system/utmps/utmps.pre-install
new file mode 100644
index 000000000..6db960686
--- /dev/null
+++ b/system/utmps/utmps.pre-install
@@ -0,0 +1,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