View | Details | Raw Unified
Collapse All | Expand All

(-) etc/init.d/net.lo (-2 / +2 lines)
 Lines 667-673    Link Here 
	local -a config=() fallback=() fallback_route=() conf=() a=() b=()
	local -a config=() fallback=() fallback_route=() conf=() a=() b=()
	local ifvar=$(bash_variable "$1") i= j= metric=0
	local ifvar=$(bash_variable "$1") i= j= metric=0
	interface_exists "${iface}" && interface_up "${iface}"
	! is_loopback "${iface}" && interface_exists "${iface}" && interface_up "${iface}"
	# pre Start any modules with
	# pre Start any modules with
	for mod in ${MODULES[@]}; do
	for mod in ${MODULES[@]}; do
 Lines 676-682    Link Here 
		fi
		fi
	done
	done
	interface_exists "${iface}" && interface_up "${iface}"
	! is_loopback "${iface}" && interface_exists "${iface}" && interface_up "${iface}"
	x="metric_${ifvar}"
	x="metric_${ifvar}"
	# If we don't have a metric then calculate one
	# If we don't have a metric then calculate one
(-) lib/rcscripts/net/ifconfig.sh (-8 lines)
 Lines 430-443    Link Here 
		config=( "${config[@]//peer/pointopoint}" )
		config=( "${config[@]//peer/pointopoint}" )
	fi
	fi
	# Some kernels like to apply lo with an address when they are brought up
	if [[ ${config[@]} == "127.0.0.1 netmask 255.0.0.0 broadcast 127.255.255.255" ]]; then
		if is_loopback "${real_iface}" ; then
			ifconfig "${real_iface}" ${config[@]}
			return 0
		fi
	fi
	ifconfig "${iface}" ${config[@]}
	ifconfig "${iface}" ${config[@]}
}
}