2021-07-10 14:04:31 -05:00
|
|
|
#!/usr/bin/env fish
|
|
|
|
|
|
|
|
function rmlink
|
2021-07-11 00:34:29 -05:00
|
|
|
rm -f $argv[2]
|
2021-07-10 14:04:31 -05:00
|
|
|
ezln $argv[1] $argv[2]
|
|
|
|
end
|
|
|
|
|
|
|
|
rmlink dnsmasq.conf /etc/dnsmasq.conf
|
|
|
|
rmlink usb-ethernet-as-lan0.link /etc/systemd/network/10-usb-eth-adapter.link
|
|
|
|
|
|
|
|
cp eth0.network /etc/systemd/network/eth0.network
|
|
|
|
cp lan0.network /etc/systemd/network/lan0.network
|