[BACK]Return to dhcpcd CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / etc / rc.d

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/etc/rc.d/dhcpcd between version 1.3 and 1.4

version 1.3, 2014/04/06 17:13:57 version 1.4, 2015/10/16 18:06:22
Line 24  fi
Line 24  fi
 ifname="${myflags##* }"  ifname="${myflags##* }"
 myflags="${myflags%% $ifname}"  myflags="${myflags%% $ifname}"
 last_flag="${myflags##* }"  last_flag="${myflags##* }"
   # Address the problem of having just dhcpcd_flags=wm0
   if [ "$myflags" = "$last_flag" ]; then
           last_flag="invalidinterfacename"
   fi
 if /sbin/ifconfig "$ifname" >/dev/null 2>&1 &&  if /sbin/ifconfig "$ifname" >/dev/null 2>&1 &&
     ! /sbin/ifconfig "$last_flag" >/dev/null 2>&1      ! /sbin/ifconfig "$last_flag" >/dev/null 2>&1
 then  then

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

CVSweb <webmaster@jp.NetBSD.org>