/[vps]/baselayout-vserver/trunk/net-scripts/net.modules.d/helpers.d/functions
Gentoo

Diff of /baselayout-vserver/trunk/net-scripts/net.modules.d/helpers.d/functions

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 251 Revision 252
72 if [[ ${RC_AUTO_INTERFACE} == "yes" ]]; then 72 if [[ ${RC_AUTO_INTERFACE} == "yes" ]]; then
73 cp -pPR "${d}"/* "${netdir}" 73 cp -pPR "${d}"/* "${netdir}"
74 local file 74 local file
75 for file in ${files} ; do 75 for file in ${files} ; do
76 # Skip .sv files 76 # Skip .sv files
77 [[ ${file} == *".sv" ]] && contine 77 [[ ${file} == *".sv" ]] && continue
78 local link=$( readlink "/etc/${file}" 2>/dev/null ) 78 local link=$( readlink "/etc/${file}" 2>/dev/null )
79 if [[ ${link} != "${netdir}/${file}" ]]; then 79 if [[ ${link} != "${netdir}/${file}" ]]; then
80 [[ -e "/etc/${file}" ]] && rm -f "/etc/${file}" 80 [[ -e "/etc/${file}" ]] && rm -f "/etc/${file}"
81 ln -snf "${netdir}/${file}" "/etc/${file}" 81 ln -snf "${netdir}/${file}" "/etc/${file}"
82 fi 82 fi

Legend:
Removed from v.251  
changed lines
  Added in v.252

  ViewVC Help
Powered by ViewVC 1.1.20