#!/usr/bin/bash
KEYFILE=/opt/sarch/common/etc/hosted-keys
LICFILE=/opt/sarch/var/license/license.key
MAC=`/sbin/ifconfig -a|grep -A3 eth0|grep ether|cut -c 15-31`
LIC=`grep = $KEYFILE | tr -d '\r' | paste -sd'#'`
STR=${LIC}#MAC=${MAC}#SERIAL=-hosted-#ver=3#PRODUCT_VER=3.9#
/opt/sarch/common/bin/make $STR $LICFILE
