*** /etc/hotplug/net.agent.orig 2004-09-25 14:17:46.000000000 -0700 --- /etc/hotplug/net.agent 2004-10-26 09:43:47.631675436 -0700 *************** *** 68,77 **** --- 68,85 ---- debug_mesg invoke ifup $INTERFACE exec /sbin/ifup $INTERFACE # Gentoo elif [ -f /etc/gentoo-release ]; then + # ignore any interfaces that will be brought up by scripts + # in a runlevel + for rlevel in /etc/runlevels/*; do + if [[ -e ${rlevel}/net.${INTERFACE} ]]; then + debug_msg skipping interface ${INTERFACE} - in runlevel + exit 0 + fi + done script=/etc/init.d/net.$INTERFACE if [ -x "$script" ]; then debug_mesg invoke \"$script\" --quiet start exec "$script" --quiet start fi