File:  [Coherent Logic Development] / freem-mk-debian-package / debian / postinst
Revision 1.3: download - view: text, annotated - select for diffs
Mon Mar 17 02:50:00 2025 UTC (2 weeks, 4 days ago) by snw
Branches: MAIN
CVS tags: HEAD
Fix postinst script

#!/usr/bin/bash

/usr/sbin/groupadd freem
/usr/sbin/useradd -m -d /home/freem -s /bin/bash -c "FreeM User" -g freem freem
/usr/bin/fmadm configure
/usr/bin/chown -R freem:freem /var/freem
/usr/bin/chmod -R 775 /var/freem

echo ""
echo "======================================================================"
echo "FreeM has been installed."
echo ""
echo ""
echo "Any users who wish to use FreeM must be a member of the freem group.  "
echo "======================================================================"
echo ""


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>