On Mar 30, 2012, at 8:28 PM, Bruce Dubbs wrote:
>> In fact, ifdown should *only* set DOWN when there are no IP configs
>> still attached to the logical interface. If there *is* an IP config
>> still attached to the logical interface, then ifdown should just
>> report a warning that it cannot set
On Mar 30, 2012, at 8:28 PM, Bruce Dubbs wrote:
> Qrux wrote:
>
>> Hopefully no one is relying on that functionality. And, those who are
>> should be doing it through their own customs scripts. IMO, that's bad
>> behavior.
>
> The nature of LFS is that users can do their own thing. I don't wan
Qrux wrote:
> On Mar 30, 2012, at 9:42 AM, xinglp wrote:
>
> is not really correct, but for a different reason. We should not set
> DOWN for an interface with an IP address still configured.
Yes, that was what xinglp was saying.
> Hopefully no one is relying on that functionality. And, those
On Mar 30, 2012, at 9:42 AM, xinglp wrote:
> 在 2012年3月31日 上午12:05,Bruce Dubbs 写道:
>> xinglp wrote:
>>> http://www.linuxfromscratch.org/lfs/view/development/scripts/apds27.html
>>>
>>> if [ "$(ip addr show ${IFACE} | grep 'inet ')" != "" ]; then
>>> log_info_msg "Bringing down th
On Mar 30, 2012, at 9:05 AM, Bruce Dubbs wrote:
> xinglp wrote:
>> http://www.linuxfromscratch.org/lfs/view/development/scripts/apds27.html
>>
>> if [ "$(ip addr show ${IFACE} | grep 'inet ')" != "" ]; then
>> log_info_msg "Bringing down the ${IFACE} interface..."
>> ip lin
xinglp wrote:
> 在 2012年3月31日 上午12:05,Bruce Dubbs 写道:
>> xinglp wrote:
>>> http://www.linuxfromscratch.org/lfs/view/development/scripts/apds27.html
>>>
>>> if [ "$(ip addr show ${IFACE} | grep 'inet ')" != "" ]; then
>>> log_info_msg "Bringing down the ${IFACE} interface..."
>>>
> I'm missing something here. Why would we need to set an interface down
> if the inet line is null?
try to search "Rewrite bootscripts and Chaper 7" in list of
lfs-dev@linuxfromscratch.org
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscri
在 2012年3月31日 上午12:05,Bruce Dubbs 写道:
> xinglp wrote:
>> http://www.linuxfromscratch.org/lfs/view/development/scripts/apds27.html
>>
>> if [ "$(ip addr show ${IFACE} | grep 'inet ')" != "" ]; then
>> log_info_msg "Bringing down the ${IFACE} interface..."
>> ip link set ${IF
xinglp wrote:
> http://www.linuxfromscratch.org/lfs/view/development/scripts/apds27.html
>
> if [ "$(ip addr show ${IFACE} | grep 'inet ')" != "" ]; then
> log_info_msg "Bringing down the ${IFACE} interface..."
> ip link set ${IFACE} down
> evaluate_retval
>