2011-10-08 19:09:58 +02:00
|
|
|
case "${ACTION}" in
|
|
|
|
post)
|
2011-10-17 16:19:38 +02:00
|
|
|
if [ -c dev/urandom -a ! -f etc/machine-id ]; then
|
2012-09-22 15:46:06 +02:00
|
|
|
systemd-machine-id-setup
|
2012-09-22 16:20:52 +02:00
|
|
|
systemctl enable getty@.service || true
|
2011-10-17 16:19:38 +02:00
|
|
|
fi
|
2011-10-08 19:09:58 +02:00
|
|
|
;;
|
|
|
|
esac
|