File:  [Coherent Logic Development] / freem / scripts / solaris-pkg / postinstall
Revision 1.1: download - view: text, annotated - select for diffs
Sat Mar 8 03:43:38 2025 UTC (4 weeks, 1 day ago) by snw
Branches: MAIN
CVS tags: HEAD
Improve 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

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