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 echo ":: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your"
40 echo " bootloader to replace sysvinit with systemd, or install systemd-sysvcompat"
42 # group 'systemd-journal-remote' is created by systemd-sysusers
43 mkdir
-m2755 var
/log
/journal
/remote
44 chgrp systemd-journal-remote var
/log
/journal
/remote
51 systemctl
--system daemon-reexec
58 for v
in "${upgrades[@]}"; do
59 if [[ $
(vercmp
"$v" "$2") -eq 1 ]]; then
60 "_${v//[.-]/_}_changes"
65 # vim:set ts=2 sw=2 et: