1
mirror of git://git.acid.vegas/random.git synced 2024-12-04 13:36:39 +00:00
This commit is contained in:
Dionysus 2023-06-27 19:21:24 -04:00
parent f17e55ab37
commit 41d8357faf
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

1
ovh6
View File

@ -2,6 +2,7 @@
_ADDRESS="2001:0000:000:0000:0:0:0:0000"
_GATEWAY="2001:0000:0000:0000:0000:0000:0000:0000"
_PERSIST=1
if [ $_PERSIST -eq 1 ]; then
echo -r "[Match]\nName=eth0\n\n[Network]\nDHCP=ipv4\n\nAddress=$_ADDRESS\nGateway=$_GATEWAY\n\n[DHCP]\nUseMTU=true" > /etc/systemd/network/eth0-dhcp.network
else