File:  [Coherent Logic Development] / freem / scripts / solaris-pkg / postinstall
Revision 1.2: download - view: text, annotated - select for diffs
Sat Mar 8 06:11:05 2025 UTC (3 weeks, 5 days ago) by snw
Branches: MAIN
CVS tags: v0-62-3, v0-62-2, v0-62-1, v0-62-0, HEAD
Finishing touches for Solaris packaging

#!/bin/sh

echo "Configuring freem..."
if [ -f /usr/local/etc/freem/DEFAULT/freem.conf ]
then
    /usr/local/bin/fmadm reconfigure
else
    /usr/local/bin/fmadm configure
fi

echo "Enabling freem service in multi-user mode..."
ln -s /etc/init.d/freem /etc/rc3.d/S20freem


echo "******************************************************************"
echo "Installation Complete"
echo
echo "Any user wishing to use FreeM must belong to the \"freem\" group."
echo "******************************************************************"

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