void-packages/srcpkgs/ntp/REMOVE

14 lines
214 B
Plaintext

#
# This script removes the ntpd user/group.
#
case "${ACTION}" in
pre)
if [ "$UPDATE" = "no" ]; then
userdel ntpd 2>&1 >/dev/null
[ $? -eq 0 ] && echo "Removed ntpd system user/group."
fi
;;
post)
;;
esac