diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-15 00:38:18 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-15 00:38:18 -0500 |
commit | aa63ef787e3fdd611599c6327733e2846a11315e (patch) | |
tree | 9a47cb3d791c0e642261c7a0b6d16ece65342618 /system/utmps/utmps.pre-upgrade | |
parent | a12b74b878220dc796e4e4cb44d277466212113e (diff) | |
download | packages-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-upgrade')
-rw-r--r-- | system/utmps/utmps.pre-upgrade | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/system/utmps/utmps.pre-upgrade b/system/utmps/utmps.pre-upgrade new file mode 100644 index 000000000..6db960686 --- /dev/null +++ b/system/utmps/utmps.pre-upgrade @@ -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 |