/[baselayout]/branches/rc-scripts-1_6/net-scripts/net.modules.d/ifconfig
Gentoo

Diff of /branches/rc-scripts-1_6/net-scripts/net.modules.d/ifconfig

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

Revision 859 Revision 860
290# 290#
291# Adds the given address to the interface 291# Adds the given address to the interface
292ifconfig_add_address() { 292ifconfig_add_address() {
293 local iface=${1} i=0 293 local iface=${1} i=0
294 294
295 ifconfig_exists ${iface} true || return 1
296
295 # Extract the config 297 # Extract the config
296 local -a config=( "$@" ) 298 local -a config=( "$@" )
297 config=( ${config[@]:1} ) 299 config=( ${config[@]:1} )
298 300
299 if [[ ${config[0]} == *:* ]]; then 301 if [[ ${config[0]} == *:* ]]; then

Legend:
Removed from v.859  
changed lines
  Added in v.860

  ViewVC Help
Powered by ViewVC 1.1.20