Changes

Jump to navigation Jump to search
591 bytes added ,  20:01, 22 July 2012
Line 347: Line 347:  
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S99zarafa-ical
 
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S99zarafa-ical
 
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S99zarafa-server
 
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S99zarafa-server
 +
 +
/bin/echo "Installing a license-key"
 +
if [ -x /usr/bin/zarafa-licensed ]; then
 +
if [ ! -f /etc/zarafa/license/base ]; then
 +
mkdir -p /etc/zarafa/license
 +
SERIAL="0"
 +
while [ ${#SERIAL} -ne 25 -a ${#SERIAL} -ne 0 ]; do
 +
if [ -n "$SERIAL" ]; then
 +
echo "Serial number must be 25 characters or empty"
 +
fi
 +
echo -ne "Server serial number (leave empty for none) []\t\t: "
 +
read SERIAL
 +
done
 +
SERIAL=`echo $SERIAL | tr [a-z] [A-Z]`
 +
echo $SERIAL > /etc/zarafa/license/base
 +
echo
 +
echo "The correctness of the serial will be checked when the Zarafa-server starts."
 +
echo
 +
fi
 +
fi
    
/bin/echo "Starting Zarafa-services"
 
/bin/echo "Starting Zarafa-services"
199

edits

Navigation menu