void-packages/srcpkgs/systemd/INSTALL

16 lines
392 B
Text

case "${ACTION}" in
post)
setcap cap_dac_override,cap_sys_ptrace+ep usr/bin/systemd-detect-virt || :
if [ -c dev/urandom -a ! -f etc/machine-id ]; then
systemd-machine-id-setup
fi
systemctl enable getty@.service || :
if [ "$UPDATE" = "yes" -a -e sys/fs/cgroup/systemd ]; then
udevadm hwdb --update
journalctl --update-catalog
systemctl --system daemon-reexec || :
fi
;;
esac