13 lines
299 B
Fish
13 lines
299 B
Fish
|
#!/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
|