From fbc3332b101a744090a66ef7e0151049ffab1944 Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Tue, 20 Sep 2011 00:18:10 +0300 Subject: [PATCH] fixed v_change_web_domain_ip --- func/ip_func.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/func/ip_func.sh b/func/ip_func.sh index e98d475f..c8b74cd1 100644 --- a/func/ip_func.sh +++ b/func/ip_func.sh @@ -231,7 +231,7 @@ change_domain_ip() { tpl_file="$5" # Get ServerName line - serv_line=$(grep -n 'ServerName %domain%' "$tpl_file" |cut -f 1 -d :) + serv_line=$(grep -n 'ServerName %domain_idn%' "$tpl_file" |cut -f 1 -d :) # Get tpl_file last line last_line=$(wc -l $tpl_file|cut -f 1 -d ' ')