13 lines
483 B
Bash
Executable File
13 lines
483 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
# Automatically added by dh_installsystemd/13.6ubuntu1
|
|
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
|
|
deb-systemd-invoke stop 'saned.socket' >/dev/null || true
|
|
fi
|
|
# End automatically added section
|
|
# Automatically added by dh_installinit/13.6ubuntu1
|
|
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -x "/etc/init.d/saned" ] ; then
|
|
invoke-rc.d --skip-systemd-native saned stop || exit 1
|
|
fi
|
|
# End automatically added section
|