1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

update readme.

This commit is contained in:
winlin 2014-03-23 18:03:24 +08:00
parent cb1499fcb6
commit 9055d8eecf
3 changed files with 3 additions and 3 deletions

View file

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