[ $(kdig +short `cat /etc/hostname`.lan | wc -l) -eq 0 ] && systemctl restart systemd-networkd # cron as root to refresh local dns/dhcp, needs knot-dnsutils or dnsutils(package is bigger, change kdig to dig)
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
[ $(kdig +short `cat /etc/hostname`.lan | wc -l) -eq 0 ] && systemctl restart systemd-networkd # cron as root to refresh local dns/dhcp, needs knot-dnsutils or dnsutils(package is bigger, change kdig to dig)