mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-05-02 17:00:16 +00:00
14 lines
No EOL
314 B
Bash
Executable file
14 lines
No EOL
314 B
Bash
Executable file
#!/bin/sh -e
|
|
|
|
# Only shut the daemon down if we're really removing the package. If this is
|
|
# an upgrade, we will instead do a restart in the postinst... this keeps nprobe
|
|
# from being left shut down for a long time, which could pose problems.
|
|
case "$1" in
|
|
upgrade)
|
|
;;
|
|
*)
|
|
/etc/init.d/nprobe stop
|
|
;;
|
|
esac
|
|
|
|
exit 0 |