Linux puskom-ProLiant-DL385-Gen10 5.4.0-150-generic #167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023 x86_64
/
var
/
lib
/
dpkg
/
info
/
/var/lib/dpkg/info/avahi-daemon.prerm
#!/bin/sh set -e # avoid cancelling of "stop" via socket or D-Bus activation if [ -d /run/systemd/system ] && [ "$1" = remove ]; then systemctl mask --runtime avahi-daemon.service # stop avahi-daemon manually since invoke-rc.d currently doesn't # deal with masked services (see Bug #717109) systemctl stop avahi-daemon.service || true fi # Automatically added by dh_installinit/11.1.6ubuntu1 if [ -x "/etc/init.d/avahi-daemon" ] && [ "$1" = remove ]; then invoke-rc.d avahi-daemon stop || exit 1 fi # End automatically added section