debian: postinst: enable haveged only if installed
This commit is contained in:
parent
05da6e6379
commit
60a181b3f4
2
debian/qubes-core-agent.postinst
vendored
2
debian/qubes-core-agent.postinst
vendored
@ -338,7 +338,7 @@ case "${1}" in
|
||||
# "Enable haveged service"
|
||||
/lib/systemd/system/haveged.service)
|
||||
echo "Enabling haveged service"
|
||||
enableSystemdUnits haveged.service
|
||||
[ -e /lib/systemd/system/haveged.service ] && enableSystemdUnits haveged.service
|
||||
;;
|
||||
|
||||
# Install overridden serial.conf init script
|
||||
|
Loading…
Reference in New Issue
Block a user