fix: get_first_ip

pull/75/head
kvaps 8 years ago
parent 789066a5cb
commit d5c9443a63

@ -24,7 +24,7 @@ function set_domainname() {
} }
function get_first_ip() { function get_first_ip() {
hostname -I | cut -d' ' -f1 ip route get 1 | awk '{print $NF;exit}'
} }
function get_dns_name() { function get_dns_name() {

Loading…
Cancel
Save