mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
boot log: dns server is now properly shown
This commit is contained in:
parent
49687459e1
commit
405496ce32
@ -17,7 +17,7 @@ show_gateway() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
show_dns() {
|
show_dns() {
|
||||||
dns=$(cat /etc/resolv.conf | cut -d ' ' -f 2)
|
dns=$(cat /etc/resolv.conf | grep nameserver | cut -d ' ' -f 2)
|
||||||
test -n "$gateway" && msg_info "DNS server address is $dns"
|
test -n "$gateway" && msg_info "DNS server address is $dns"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user