4 [[ -d run
/systemd
/system
&& ! -L run
/systemd
/system
]]
8 # ignore errors, since the filesystem might not support ACLs
9 setfacl
-Rnm g
:wheel
:rx
,d
:g
:wheel
:rx
,g
:adm
:rx
,d
:g
:adm
:rx var
/log
/journal
/ 2>/dev
/null
15 journalctl
--update-catalog
19 if [[ -L var
/lib
/systemd
/timesync
]]; then
20 rm var
/lib
/systemd
/timesync
21 if [[ -d var
/lib
/private
/systemd
/timesync
]]; then
22 mv var
/lib
/{private
/,}systemd
/timesync
28 systemd-machine-id-setup
34 # enable some services by default, but don't track them
39 # group 'systemd-journal-remote' is created by systemd-sysusers
40 mkdir
-m2755 var
/log
/journal
/remote
41 chgrp systemd-journal-remote var
/log
/journal
/remote
48 systemctl
--system daemon-reexec
55 for v
in "${upgrades[@]}"; do
56 if [[ $
(vercmp
"$v" "$2") -eq 1 ]]; then
57 "_${v//[.-]/_}_changes"
62 # vim:set ts=2 sw=2 et: