nochmal eine kleine Anpassung damit die resolv.conf bei Benutzung von red auch wieder...
authormaniacikarus <maniacikarus@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sat, 26 May 2007 10:26:04 +0000 (10:26 +0000)
committermaniacikarus <maniacikarus@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sat, 26 May 2007 10:26:04 +0000 (10:26 +0000)
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@582 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

src/initscripts/init.d/net/common/ipv4-static

index 5c94087..a9d89a1 100644 (file)
@@ -63,6 +63,7 @@ case "${2}" in
                                boot_mesg "Registering DNS server..."
                                echo $DNS1 > /var/ipfire/red/dns1
                                echo $DNS2 > /var/ipfire/red/dns2
+                               echo "nameserver 127.0.0.1" > /etc/resolv.conf
                                echo $ADDRESS > /var/ipfire/red/local-ipaddress
                                evaluate_retval
                        fi