|
Description
|
In the net-physical script, there is some special handling for the "xx0" interface:
if [ "$1" = "xx0" ]; then
#
# For some unknown historical reason the xx0
# ifname is ignored.
#
shift
continue
fi
According to google, this hack is introduced in SunOS 4.x.x to allow someone to set
the hostname of a standalone system:
"When a system boots SunOS 4.1.x the appropriate ethernet network
interface(s) are configured (ifconfig) based on the presence of one or
more files named /etc/hostname.<interface>, where <interface> is the
name of an interface to be passed to ifconfig (e.g. ie0 or le0). This
operation is done during the rc.boot procedure. By changing the name of
this file (assuming there is only one ethernet interface for the
system) to "hostname.xx0" (literally; the xx0 doesn't stand for
something else), the contents of the file will be correctly used to set
the system's hostname, but no ethernet interface will be setup."
This hack should be no longer needed.
|