void-packages/srcpkgs/systemd/INSTALL

16 lines
392 B
Plaintext
Raw Normal View History

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
systemctl enable getty@.service || :
fi
if [ "$UPDATE" = "yes" -a -e sys/fs/cgroup/systemd ]; then
udevadm hwdb --update
journalctl --update-catalog
systemctl --system daemon-reexec || :
fi
;;
esac