#!/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
