>>>>> On Mon, 23 Mar 2015 12:22:44 +0100, "steven.w...@t-online.de" 
>>>>> <steven.w...@t-online.de> said:

    > And at the end of the script $bootlog is getting checked for "DOMAIN=" 
which would never be true and causes an localdomain.
    > I'm not sure about this - bug or not? Or is there another reason at all 
not seen by me?

    > This can be fixed by adding DOMAIN=$DOMAIN to setnet().

Hi Steven,

thanks for the bug report. I've patched it theway you've recommended:


diff --git a/lib/get-boot-info b/lib/get-boot-info
index 01b5da7..e0fbde6 100755
--- a/lib/get-boot-info
+++ b/lib/get-boot-info
@@ -83,6 +83,11 @@ setnet() {
        GATEWAYS=$GATEWAYS
        BROADCAST=$BROADCAST
 EOF
+
+    if [ -n "$DOMAIN" ]; then
+        # DOMAIN was specified on the kernel command line
+        echo "DOMAIN=$DOMAIN" >> $bootlog
+    fi
 }
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 get_fixed_info() {


-- 
regards Thomas

Reply via email to