Update lixonet.sh.tmpl

This commit is contained in:
Manevolent 2024-11-05 17:33:17 -07:00 committed by GitHub
parent edf5ef1b26
commit f962c61d98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,5 @@
#!/bin/sh
gateway=`getent hosts tinc | awk '{ print \$1 }'`
gateway=`getent ahostsv4 tinc | awk '{ print $1 }' | head -n 1`
route="${network_address}/${global_prefix:-16}"
iface="eth0"