diff options
Diffstat (limited to 'packages/debian/prerm')
-rwxr-xr-x | packages/debian/prerm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/debian/prerm b/packages/debian/prerm index 6942225bd..ed637e29c 100755 --- a/packages/debian/prerm +++ b/packages/debian/prerm @@ -1,3 +1,5 @@ #!/bin/sh -systemctl stop ndpisrvd.service +if [ "$1" = "remove" -o "$1" = "purge" ]; then + systemctl stop ndpisrvd.service +fi |