Konstantin Demin
c3d09a3e94
imported from https://salsa.debian.org/kernel-team/linux.git commit 9d5cc9d9d6501d7f1dd7e194d4b245bd0b6c6a22 version 6.11.4-1
19 lines
418 B
Bash
19 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
|