Bug#439250: patch

2008-02-26 Thread Rudy Gevaert

I think this will solve the case.
setnet is only called in once case, that is when ip=... is used.  So 
this should work:


Could this be resolved upstream?

--- get-boot-info   2008-02-26 15:33:11.0 +0100
+++ get-boot-info.new   2008-02-26 15:32:56.0 +0100
@@ -101,11 +101,11 @@
 BROADCAST=${IPADDR%\.*}.255

 cat  $bootlog -EOF
-   IPADDR=$IPADDR
-   SERVER=$SERVER
-   NETMASK=$NETMASK
-   GATEWAYS=$GATEWAYS
-   BROADCAST=$BROADCAST
+   IPADDR=\'$IPADDR\'
+   SERVER=\''$SERVER\'
+   NETMASK=\'$NETMASK\'
+   GATEWAYS=\'$GATEWAYS\'
+   BROADCAST=\'$BROADCAST\'
EOF
 }
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


--
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Rudy Gevaert  [EMAIL PROTECTED]  tel:+32 9 264 4734
Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
Groep SystemenSystems group
Universiteit Gent Ghent University
Krijgslaan 281, gebouw S9, 9000 Gent, Belgie   www.UGent.be
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#439250: patch

2008-02-26 Thread Achim Bohnet
On Tuesday, 26. February 2008, Rudy Gevaert wrote:
 I think this will solve the case.
 setnet is only called in once case, that is when ip=... is used.  So 
 this should work:
 
 Could this be resolved upstream?
 
 --- get-boot-info   2008-02-26 15:33:11.0 +0100
 +++ get-boot-info.new   2008-02-26 15:32:56.0 +0100
 @@ -101,11 +101,11 @@
   BROADCAST=${IPADDR%\.*}.255
 
   cat  $bootlog -EOF
 -   IPADDR=$IPADDR
 -   SERVER=$SERVER
 -   NETMASK=$NETMASK
 -   GATEWAYS=$GATEWAYS
 -   BROADCAST=$BROADCAST
 +   IPADDR=\'$IPADDR\'
 +   SERVER=\''$SERVER\'
   ^ one ' too much!?

Achim
 +   NETMASK=\'$NETMASK\'
 +   GATEWAYS=\'$GATEWAYS\'
 +   BROADCAST=\'$BROADCAST\'
  EOF
   }
   # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 
 
 -- 
 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
 Rudy Gevaert  [EMAIL PROTECTED]  tel:+32 9 264 4734
 Directie ICT, afd. Infrastructuur ICT Department, Infrastructure office
 Groep SystemenSystems group
 Universiteit Gent Ghent University
 Krijgslaan 281, gebouw S9, 9000 Gent, Belgie   www.UGent.be
 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
 
 
 
 



-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
  -- [EMAIL PROTECTED]



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]