You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rtpengine/debian/ngcp-rtpengine-daemon.postrm

18 lines
332 B

#!/bin/sh
set -e
if [ "$1" = purge ]; then
deluser --quiet --system rtpengine > /dev/null || true
delgroup --quiet --system rtpengine > /dev/null || true
if [ -f /etc/modprobe.d/rtpengine.conf ] && grep -q DPKG-GENERATED /etc/modprobe.d/rtpengine.conf; then
rm -f /etc/modprobe.d/rtpengine.conf
fi
fi
#DEBHELPER#
exit 0