diff options
author | Leah Neukirchen <leah@vuxu.org> | 2019-09-06 11:21:19 +0200 |
---|---|---|
committer | Leah Neukirchen <chneukirchen@gmail.com> | 2019-09-06 14:40:42 +0200 |
commit | 42297f7576577eb9bdc7bafc8a6b8eefb6ecaca6 (patch) | |
tree | 972140b8c0ba1ce4246ed01e2eeb395b3c0793a4 | |
parent | 047744cc50cdc2c84cc15374fa87a194ef63d384 (diff) | |
download | runit-void-42297f7576577eb9bdc7bafc8a6b8eefb6ecaca6.tar.gz runit-void-42297f7576577eb9bdc7bafc8a6b8eefb6ecaca6.tar.xz runit-void-42297f7576577eb9bdc7bafc8a6b8eefb6ecaca6.zip |
core-services/05-misc.sh: create utmp early
-rw-r--r-- | core-services/05-misc.sh | 1 | ||||
-rw-r--r-- | core-services/99-cleanup.sh | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/core-services/05-misc.sh b/core-services/05-misc.sh index a7d7b19..7b035d6 100644 --- a/core-services/05-misc.sh +++ b/core-services/05-misc.sh @@ -1,5 +1,6 @@ # vim: set ts=4 sw=4 et: +install -m0664 -o root -g utmp /dev/null /run/utmp halt -B # for wtmp if [ -z "$VIRTUALIZATION" ]; then diff --git a/core-services/99-cleanup.sh b/core-services/99-cleanup.sh index 2d7da1d..f27f728 100644 --- a/core-services/99-cleanup.sh +++ b/core-services/99-cleanup.sh @@ -1,6 +1,5 @@ # vim: set ts=4 sw=4 et: -install -m0664 -o root -g utmp /dev/null /run/utmp if [ ! -e /var/log/wtmp ]; then install -m0664 -o root -g utmp /dev/null /var/log/wtmp fi |