This commit is contained in:
Daniel Flanagan 2022-01-31 17:10:30 -06:00
parent 7e83b39f17
commit 7cd4d3ea01

View file

@ -15,6 +15,7 @@ function recopy
cp $argv[1] $argv[2] cp $argv[1] $argv[2]
end end
# DNS, DHCP, prefix delegation
recopy dnsmasq.conf /etc/dnsmasq.conf recopy dnsmasq.conf /etc/dnsmasq.conf
recopy resolved.conf /etc/systemd/resolved.conf recopy resolved.conf /etc/systemd/resolved.conf
recopy ./sysctl-configs /etc/sysctl.d/10-router-configs.conf recopy ./sysctl-configs /etc/sysctl.d/10-router-configs.conf
@ -23,9 +24,5 @@ recopy ./sysctl-configs /etc/sysctl.d/10-router-configs.conf
recopy lan0.link /etc/systemd/network/10-lan0.link recopy lan0.link /etc/systemd/network/10-lan0.link
recopy wan0.link /etc/systemd/network/10-wan0.link recopy wan0.link /etc/systemd/network/10-wan0.link
# enable systemd-networkd set the proper sysctl flags
# recopy wan0.network /etc/systemd/network/wan0.network
# recopy lan0.network /etc/systemd/network/lan0.network
# dhcp client configuration # dhcp client configuration
recopy dhcpcd.conf /etc/dhcpcd.conf recopy dhcpcd.conf /etc/dhcpcd.conf