|
@ -6,18 +6,13 @@ if [ -f /.dockerenv ]; then exit 0; fi |
|
|
|
|
|
|
|
|
. /usr/share/debconf/confmodule |
|
|
. /usr/share/debconf/confmodule |
|
|
|
|
|
|
|
|
case "$1" in |
|
|
if [ "$1" = "remove" ]; then |
|
|
upgrade) |
|
|
|
|
|
;; |
|
|
|
|
|
|
|
|
|
|
|
*) |
|
|
|
|
|
deb-systemd-invoke stop edge.service 'edge@*.service' 'edge-ntopng@*.service' |
|
|
deb-systemd-invoke stop edge.service 'edge@*.service' 'edge-ntopng@*.service' |
|
|
deb-systemd-invoke disable edge.service 'edge@*.service' 'edge-ntopng@*.service' |
|
|
deb-systemd-invoke disable edge.service 'edge@*.service' 'edge-ntopng@*.service' |
|
|
deb-systemd-invoke stop supernode.service |
|
|
deb-systemd-invoke stop supernode.service |
|
|
deb-systemd-invoke disable supernode.service |
|
|
deb-systemd-invoke disable supernode.service |
|
|
systemctl daemon-reload |
|
|
systemctl daemon-reload |
|
|
systemctl reset-failed |
|
|
systemctl reset-failed |
|
|
;; |
|
|
fi |
|
|
esac |
|
|
|
|
|
|
|
|
|
|
|
exit 0 |
|
|
exit 0 |
|
|