Skip to content

Commit

Permalink
Merge pull request #18 from higkoo/patch-2
Browse files Browse the repository at this point in the history
更新IP地址的获取方式
  • Loading branch information
UlricQin committed Mar 24, 2020
2 parents 7325c7d + 16871e7 commit 9ba3854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 9ba3854

Please sign in to comment.