Bug 3695

Summary: zeroconf support
Product: Sisyphus Reporter: Sergey Bolshakov <sbolshakov>
Component: net-scriptsAssignee: Denis Ovsienko <pilot>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: enhancement    
Priority: P2 CC: ldv
Version: unstable   
Hardware: all   
OS: Linux   
Attachments:
Description Flags
zcip support
none
zcip support patch (fixed) none

Description Sergey Bolshakov 2004-02-13 19:17:16 MSK
attached patch adds zeroconf support using zcip utility
Comment 1 Sergey Bolshakov 2004-02-13 19:17:54 MSK
Created attachment 346 [details]
zcip support
Comment 2 Denis Ovsienko 2004-03-17 22:33:06 MSK
ага
Comment 3 Denis Ovsienko 2004-03-22 00:07:09 MSK
Created attachment 360 [details]
zcip support patch (fixed)
Comment 4 Denis Ovsienko 2004-03-22 00:08:14 MSK
Принято в 0.4.2-alt1 со следующими поправками:
--- net-scripts-0.3-zcip.patch.orig     2004-03-22 02:26:09 +0200
+++ net-scripts-0.3-zcip-good.patch     2004-03-22 02:26:43 +0200
@@ -57,7 +57,7 @@
  fi
  
 +ZCIP=/sbin/zcip
-+ZCIP_ARGS"-s -i $DEVICE"
++ZCIP_ARGS="-s -i $DEVICE"
 +
  if [ -n "$DYNCONFIG" ]; then
      echo -n "Determining IP information for $DEVICE via ${DHCP_CLIENT##*/}..."
@@ -77,7 +77,7 @@
        exit 1
      fi
 -else 
-+elif [ "BOOTPROTO" = zcip ]; then
++elif [ "$BOOTPROTO" = zcip ]; then
 +    echo -n "Determining IP information for $DEVICE via ${ZCIP##*/}..."
 +    if $ZCIP $ZCIP_ARGS; then
 +      echo " done."
Comment 5 Denis Ovsienko 2004-05-15 14:06:34 MSD
Нашёл ещё одну ошибку в патче, исправляется в 0.4.7.