aboutsummaryrefslogtreecommitdiffstats
path: root/testing/utmps/utmps.pre-install
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-06-25 10:35:01 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-06-25 10:35:01 +0000
commita2fb70e278ef9a17b069c3cd5e82830f14964de3 (patch)
tree6d54c385d21bd3760363b1e0f9fa1bb91d819163 /testing/utmps/utmps.pre-install
parent86e7ebb6cd46b846d9ed45fa02d15080efe9c0ed (diff)
downloadaports-a2fb70e278ef9a17b069c3cd5e82830f14964de3.tar.bz2
aports-a2fb70e278ef9a17b069c3cd5e82830f14964de3.tar.xz
testing/utmps: move from main
new packages should be added to testing first
Diffstat (limited to 'testing/utmps/utmps.pre-install')
-rw-r--r--testing/utmps/utmps.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/utmps/utmps.pre-install b/testing/utmps/utmps.pre-install
new file mode 100644
index 0000000000..6db960686c
--- /dev/null
+++ b/testing/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