void-packages/srcpkgs/systemd/INSTALL

8 lines
160 B
Text

case "${ACTION}" in
post)
if [ -c dev/urandom -a ! -f etc/machine-id ]; then
systemd-machine-id-setup
systemctl enable getty@.service || true
fi
;;
esac