fixed remaining file copys

This commit is contained in:
eichehome 2023-03-29 17:05:02 +02:00
parent 7e0b10bc71
commit 43585a5bb9

View file

@ -121,17 +121,17 @@ if [[ $configuration == 1 ]]; then
systemctl enable sshd
# Netzwerk
# Ethernet
$ethernet_network=$(find / -type f -name 20-ethernet.network | grep configs)
ethernet_network=$(find / -type f -name 20-ethernet.network | grep configs)
cp ./configs/20-ethernet.network /etc/systemd/network/
# Wlan
$wlan_network=$(find / -type f -name 20-wlan.network | grep configs)
wlan_network=$(find / -type f -name 20-wlan.network | grep configs)
cp $wlan_network /etc/systemd/network/
# Wwan (Mobilefunk)
$wwan_network=$(find / -type f -name 20-wwan.network | grep configs)
wwan_network=$(find / -type f -name 20-wwan.network | grep configs)
cp $wwan_network /etc/systemd/network/
elif [[ $configuration == 2 ]]; then
systemctl enable NetworkManager
$wifi_backend_conf=$(find / -type f -name wifi_backend.conf | grep configs)
wifi_backend_conf=$(find / -type f -name wifi_backend.conf | grep configs)
cp $wifi_backend_conf /etc/NetworkManager/conf.d/
fi