%PDF- %PDF-
Direktori : /var/lib/dpkg/info/ |
Current File : /var/lib/dpkg/info/veeam.preinst |
#!/bin/sh set -e PATH=$PATH:/usr/sbin case "$1" in upgrade | failed-upgrade) if [ -d /run/systemd/system ] then # systemd echo "Try to dispose active veeam services" for srv in $(pidof veeamservice) do echo "kill process "${srv} kill ${srv} || true done echo "Try to unload snapshot module" if [ -e "/dev/veeamsnap" ] ; then modprobe -r veeamsnap >/dev/null 2>&1 || true fi if [ -e "/dev/blksnap" ] ; then modprobe -r blksnap >/dev/null 2>&1 fi if [ -e "/dev/veeamblksnap" ] ; then modprobe -r veeamblksnap >/dev/null 2>&1 fi fi ;; esac exit 0