[leaf-commits] src/bering-uclibc4/source/dhcpcd upstream_resolv_conf_dir.patch, NONE, 1.1

david M brooke <[email protected]>
Newsgroups gmane.linux.leaf.cvs
Message-ID <[email protected]>
Update of /cvsroot/leaf/src/bering-uclibc4/source/dhcpcd
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv16369

Added Files:
	upstream_resolv_conf_dir.patch 
Log Message:
Missed this file for 20-resolv.conf changes

--- NEW FILE: upstream_resolv_conf_dir.patch ---
*** dhcpcd-4.0.15/dhcpcd-hooks/20-resolv.conf.orig	2009-09-22 07:22:50.000000000 +0100
--- dhcpcd-4.0.15/dhcpcd-hooks/20-resolv.conf	2010-10-29 19:51:09.000000000 +0100
***************
*** 7,12 ****
--- 7,13 ----
  # or dnsmasq. This is important as the libc resolver isn't that powerful.
  
  resolv_conf_dir="${state_dir}/resolv.conf"
+ upstream_resolv_conf_dir="/etc/dhcpc"
  
  build_resolv_conf()
  {
***************
*** 51,57 ****
  	else
  		echo "# /etc/resolv.conf.tail can replace this line" >> "${cf}"
  	fi
! 	mv -f "${cf}" /etc/resolv.conf
  }
  
  add_resolv_conf()
--- 52,61 ----
  	else
  		echo "# /etc/resolv.conf.tail can replace this line" >> "${cf}"
  	fi
! 	if [ ! -d "${upstream_resolv_conf_dir}" ]; then
! 		mkdir "${upstream_resolv_conf_dir}"
! 	fi
! 	mv -f "${cf}" "${upstream_resolv_conf_dir}"/resolv.conf
  }
  
  add_resolv_conf()


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.