Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jan 1997 10:14:37 +0000 (GMT)
From:      Bourne-again Superuser <toor@ui-gate.utell.co.uk>
To:        hackers@freebsd.org
Cc:        brian@awfulhak.demon.co.uk
Subject:   /etc/sysconfig, /etc/netstart
Message-ID:  <199701201014.KAA07227@ui-gate.utell.co.uk>

next in thread | raw e-mail | index | archive | help
Hi,

Has anyone got any objections to the following lines in /etc/netstart ?

# Set up all he network interfaces, calling startup scripts if needed
for ifn in ${network_interfaces}; do
	if [ -e /etc/start_if.${ifn} ]; then
		. /etc/start_if.${ifn} ${ifn}
	fi
	eval ifconfig_args=\$ifconfig_${ifn}
	ifconfig ${ifn} ${ifconfig_args}
	eval aliases=\$alias_${ifn}
	if [ -n "$aliases" ]; then
		for alias in $aliases; do
			ifconfig ${ifn} inet $alias netmask 0xffffffff alias
		done
	fi
	ifconfig ${ifn}
done

Cheers,

Brian <brian@awfulhak.demon.co.uk>, <brian@freebsd.org>
      <http://www.awfulhak.demon.co.uk>;
Don't __EVER__ lose your sense of humour !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701201014.KAA07227>