]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
dhcpcd.exe: Fix typo in configuring DNS server
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 8 Sep 2022 10:42:07 +0000 (12:42 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 26 Oct 2022 14:00:46 +0000 (16:00 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/initscripts/networking/dhcpcd.exe

index f6e494f962f831e46529b8456a497d83f7f00451..22ea9aaf7a791d63c79b1e04b907f767b7457a3f 100644 (file)
@@ -169,7 +169,7 @@ setup_qmi() {
                echo -n "${dns1}" > /var/ipfire/red/dns1
        fi
        if [ -n "${dns2}" ]; then
-               echo n "${dns2}"  > /var/ipfire/red/dns2
+               echo -n "${dns2}" > /var/ipfire/red/dns2
        fi
 
        return 0