Juan RP bb69ac6768 ntp: do not remove user/group if updating, bumprev.
--HG--
extra : convert_revision : d00de5f24a0f01859971004f13c32aba3db2e9dc
2009-12-09 16:17:06 +01:00

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