4 if ! usr
/bin
/getent group lock
>/dev
/null
; then
5 usr
/sbin
/groupadd
-g 54 lock
10 [ -e sys
/fs
/cgroups
/systemd
]
16 if [ ! -f etc
/machine-id
]; then
17 bin
/systemd-machine-id-setup
20 echo "systemd has been installed to /bin/systemd. Please ensure you append"
21 echo "init=/bin/systemd to your kernel command line in your bootloader."
23 echo "For a quiet boot you should skip root filesystem fsck by appending"
24 echo "fastboot parameter to your kernel command line parameters."
25 echo "You should also append quiet and/or loglevel=3"
27 echo "Please note that a quiet boot makes debugging any boot problems harder"
33 if [ ! -f etc
/machine-id
]; then
34 bin
/systemd-machine-id-setup
38 bin
/systemctl daemon-reexec
>/dev
/null
44 # catch v31 need for restarting systemd-logind.service
45 if [ "$newpkgver" -ge 31 ] && [ "$oldpkgver" -lt 31 ]; then
46 # but only if systemd is running
48 bin
/systemctl try-restart systemd-logind.service
54 if usr
/bin
/getent group lock
>/dev
/null
; then
55 usr
/sbin
/groupdel lock
59 # vim:set ts=2 sw=2 et: