From b525fc65aa3e79215da3b64510af38048feeb19a Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang Date: Tue, 3 Mar 2020 21:05:49 +0800 Subject: [PATCH] Remove unused ip variable * "inet addr" is not compatible with rhel/centos 7+; * ifconfig has been replaced by ip-utils in newer distro; --- trunk/configure | 1 - 1 file changed, 1 deletion(-) diff --git a/trunk/configure b/trunk/configure index d233f66db..8ba25a8ba 100755 --- a/trunk/configure +++ b/trunk/configure @@ -730,7 +730,6 @@ fi # next step ##################################################################################### if [ $SRS_EXPORT_LIBRTMP_PROJECT = NO ]; then - ip=`ifconfig|grep "inet addr"| grep -v "127.0.0.1"|awk '{print $2}'|awk -F ':' 'NR==1 {print $2}'` echo "" echo "You can run 3rdparty applications:" if [ $SRS_HTTP_CALLBACK = YES ]; then