22 lines
353 B
Bash
Executable File
22 lines
353 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
case "$1" in
|
|
remove|upgrade|deconfigure)
|
|
systemctl stop govpp-snmp-agentx.service || true
|
|
systemctl disable govpp-snmp-agentx.service || true
|
|
;;
|
|
|
|
failed-upgrade)
|
|
;;
|
|
|
|
*)
|
|
echo "prerm called with unknown argument \`$1'" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0 |