initConf()
{
HOSTID=$1
CONF=$2
echo "----cat----"
cat $CONF \\
| grep -v ^$ \\
| sed -n "s/\\s\\+//;/\\[${HOSTID}\\]/,/^\\[/p" \\
| grep -v ^'\\['
echo "----INFO----"
INFO=`cat $CONF \\
| grep -v ^$ \\
| sed -n "s/\\s\\+//;/\\[${HOSTID}\\]/,/^\\[/p" \\
| grep -v ^'\\[' ` eval "$INFO"
echo $host
echo $name
echo $pass
echo $type
}