-BINDIR=`grep -n "BINDIR" $aficonf | grep 11 | sed s?.*BINDIR\ =\ ??`
-LOGDIR=`grep -n "LOGDIR" $aficonf | grep 32 | sed s?.*LOGDIR\ =\ ??`
-LOGNAME=`grep -n "LOGFILE" $aficonf | grep 33 | sed s?.*LOGFILE\ =\ ??`
+BINDIR=`grep -n "BINDIR" $anticonf | sed "s?.*BINDIR\ =\ ??"`
+
+# Del afimonio
+LOGDIR=`grep -n "LOGDIR" $afimconf | sed "s?.*LOGDIR\ =\ ??"`
+LOGNAME=`grep -n "LOGFILE" $afimconf | sed "s?.*LOGFILE\ =\ ??"`