release 6.14.9
This commit is contained in:
8
debian/hyperv-daemons.preinst
vendored
8
debian/hyperv-daemons.preinst
vendored
@@ -14,11 +14,11 @@ upgrade )
|
||||
init_service="hyperv-daemons.hv-$i-daemon"
|
||||
systemd_unit="${init_service}.service"
|
||||
if [ ${have_systemd} = 1 ] ; then
|
||||
systemctl stop "${systemd_unit}" 2>/dev/null || true
|
||||
systemctl stop "${systemd_unit}" 2>/dev/null || :
|
||||
fi
|
||||
deb-systemd-helper purge "${systemd_unit}" || true
|
||||
invoke-rc.d --skip-systemd-native "${init_service}" stop || true
|
||||
update-rc.d "${init_service}" remove || true
|
||||
deb-systemd-helper purge "${systemd_unit}" || :
|
||||
invoke-rc.d --skip-systemd-native "${init_service}" stop || :
|
||||
update-rc.d "${init_service}" remove || :
|
||||
done ; unset services i init_service systemd_unit
|
||||
;;
|
||||
esac
|
||||
|
Reference in New Issue
Block a user