Files
nDPId/packages/debian/postrm
Toni Uhlig ce5f448d3b Switched OpenWrt GitHub Actions SDK to main branch
* fixed some SonarCloud complaints
 * added more systemd CI tests
 * fixed debian package scripts to obey remove/purge
 * changed `chmod_chown()` error handling

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
2024-11-02 18:36:54 +01:00

12 lines
246 B
Bash
Executable File

#!/bin/sh
if [ "$1" = "remove" -o "$1" = "purge" ]; then
rm -rf /run/nDPId /run/nDPIsrvd
if [ "$1" = "purge" ]; then
deluser ndpid || true
deluser ndpisrvd || true
delgroup ndpisrvd-distributor || true
fi
fi