Merge pull request #18 from higkoo/patch-2

更新IP地址的获取方式
This commit is contained in:
ulricqin 2020-03-24 10:28:21 +08:00 committed by GitHub
commit 9ba38546ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -4,4 +4,4 @@ logger:
keepHours: 2
identity:
specify: ""
shell: /usr/sbin/ifconfig `/usr/sbin/route|grep '^default'|awk '{print $NF}'`|grep inet|awk '{print $2}'|head -n 1
shell: hostname -i