| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
[snip]"Justin C. Walker" <email@hidden> wrote:
On Thursday, March 28, 2002, at 09:06 AM, "Peter \"Pierro' W Brewer"
<email@hidden> wrote:
Can you give me a hint why you think this would be true?
ipconfig waitall > /dev/null 2>&1
ifconfig lo0 127.0.0.1 netmask 255.0.0.0 up
This comes after ipconfig waitall... making me wonder...
##
# See if the network is up now
##
CheckForNetwork
# Set HOSTNAME if needed
if [ "${HOSTNAME:=-AUTOMATIC-}" = "-AUTOMATIC-" ]; then
HOSTNAME=$(ipconfig getoption "" host_name)
if [ $? -eq 0 ]; then
hostname "${HOSTNAME}"
fi
fi
I suspect that ipconfig would have to get host_name from netinfo.
Its seems clear that netstat -r relies on lookupd...
Which would tend to support the notion that ifconfig might as well.
(through syscall splicing).
| References: | |
| >Re: ipconfig waitall > /dev/null 2>&1 (From: "Peter \"Pierro' W Brewer" <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.