summaryrefslogtreecommitdiff
path: root/system/utmps/utmps.pre-install
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-15 00:38:18 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-15 00:38:18 -0500
commitaa63ef787e3fdd611599c6327733e2846a11315e (patch)
tree9a47cb3d791c0e642261c7a0b6d16ece65342618 /system/utmps/utmps.pre-install
parenta12b74b878220dc796e4e4cb44d277466212113e (diff)
downloadpackages-aa63ef787e3fdd611599c6327733e2846a11315e.tar.gz
packages-aa63ef787e3fdd611599c6327733e2846a11315e.tar.bz2
packages-aa63ef787e3fdd611599c6327733e2846a11315e.tar.xz
packages-aa63ef787e3fdd611599c6327733e2846a11315e.zip
system/utmps: new package
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