Remove unused ip variable

* "inet addr" is not compatible with rhel/centos 7+;
* ifconfig has been replaced by ip-utils in newer distro;
pull/1625/head
Xiaofeng Wang 5 years ago
parent 72155fc645
commit b525fc65aa

1
trunk/configure vendored

@ -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

Loading…
Cancel
Save