Quellcode durchsuchen

fixed network config

Toastie vor 1 Jahr
Ursprung
Commit
47baef5fde
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      bootrap-bullseye.sh

+ 1 - 1
bootrap-bullseye.sh

@@ -135,7 +135,7 @@ sed -i -e 's/#Port 22/Port 50101/g' /etc/ssh/sshd_config
 sed -i -e 's/#PubkeyAuthentication yes/PubkeyAuthentication yes/g' /etc/ssh/sshd_config
 
 ## Configure network using systemd
-if [ ! -z $netAddress ]
+if [ -z $netAddress ]
 then
 ## Network OPTION 1 - DHCP
 cat >/etc/systemd/network/20-wired.network <<EOL