1
0
Fork 0
linux/debian/hyperv-daemons.postinst
Daniel Baumann 09ce90cf76
Adding debian version 6.12.33-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-22 12:15:16 +02:00

18 lines
418 B
Bash

#!/bin/sh
set -e
if [ "$1" = "configure" ]; then
if [ -d /run/systemd/system ]; then
if [ -z "$2" ]; then
# On initial install make sure udev notifies systemd
udevadm trigger || true
else
# On upgrade make sure running daemons are restarted
systemctl try-restart hv-kvp-daemon.service hv-vss-daemon.service
fi
fi
fi
#DEBHELPER#
exit 0