mirror of
https://github.com/ossrs/srs.git
synced 2025-02-15 04:42:04 +00:00
Remove unused ip variable
* "inet addr" is not compatible with rhel/centos 7+; * ifconfig has been replaced by ip-utils in newer distro;
This commit is contained in:
parent
72155fc645
commit
b525fc65aa
1 changed files with 0 additions and 1 deletions
1
trunk/configure
vendored
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…
Reference in a new issue