12 lines
299 B
Fish
Executable file
12 lines
299 B
Fish
Executable file
#!/usr/bin/env fish
|
|
|
|
function rmlink
|
|
rm -f $argv[1]
|
|
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
|