mirror of https://github.com/ossrs/srs.git
update readme.
parent
cb1499fcb6
commit
9055d8eecf
@ -1,6 +1,6 @@
|
||||
ip=`ifconfig 2>&1|grep 'inet addr'|grep -v '127.0.0.1'|awk 'NR==1 {print $2}'|awk -F ':' '{print $2}'`
|
||||
if [[ -z $ip ]]; then
|
||||
echo "localhost"
|
||||
echo "127.0.0.1"
|
||||
else
|
||||
echo $ip
|
||||
fi
|
||||
|
Loading…
Reference in New Issue