1 # arg 1: the new package version
3 getent group elog >/dev/null || usr/sbin/groupadd elog
4 getent passwd elog >/dev/null || usr/sbin/useradd -c "elog Server" \
5 -g elog -d /var/lib/elog -s /bin/false elog
6 usr/bin/passwd -l elog &>/dev/null
7 chown -R elog:elog /etc/elog
8 chown -R elog:elog /var/lib/elog
9 echo ">>> Add elogd to the DAEMONS array in /etc/rc.conf if you want"
10 echo ">>> the server to start at system boot-up."
13 # arg 1: the new package version
14 # arg 2: the old package version
19 # arg 1: the old package version
21 usr/sbin/userdel elog &>/dev/null
22 usr/sbin/groupdel elog &>/dev/null
23 echo ">>> Post-install logbook entries remain after package removal."