Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2015-10-26 14:53:54 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
dd2945add16924d469539b9fca2042e4dacf956e
dd2945ad
1 parent
6f6d495a
update htbt script
显示空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
trunk/scripts/htbt.sh
trunk/scripts/htbt.sh
查看文件 @
dd2945a
...
...
@@ -3,5 +3,5 @@ ip=`ifconfig 2>&1|grep "inet addr"|grep -v "127"|awk '{print $2}'|awk -F ':' '{p
for
((
;;
))
;
do
echo
"heatbeat at
`
date
`
"
curl
'http://ossrs.net:8085/api/v1/servers'
-H
'Content-Type: text/html'
--data-binary
"{
\"
ip
\"
:
\"
${
ip
}
\"
,
\"
device_id
\"
:
\"
respberry-pi2
\"
}"
&&
echo
""
sleep
3
0
sleep
1
0
done
...
...
请
注册
或
登录
后发表评论