ifupdown scripts

David Henderson dhenderson at digital-pipe.com
Tue Sep 20 18:34:33 UTC 2016


Does BB require certain permissions or ownership of the
scripts/directories for this to get called?

Dave


On 9/20/16, David Henderson <dhenderson at digital-pipe.com> wrote:
> Hey Martin, thanks for your help!  I tried renaming the file as you
> requested, but it is still not being called.  I did just submit a new
> post regarding additional problems with ifup/down.  Perhaps something
> in there can help with a resolution here - in short running an 'ifup
> -v eth0' doesn't appear to ever get to looking inside the if-up.d
> directory, only if-pre-up.d.
>
> Thanks,
> Dave
>
>
> On 9/20/16, Martin Townsend <mtownsend1973 at gmail.com> wrote:
>> Hi David,
>>
>> Does it work if you drop the .conf?
>> /etc/network/if-up.d/000_resolv
>>
>> -Martin
>>
>> On Mon, Sep 19, 2016 at 9:59 PM, David Henderson
>> <dhenderson at digital-pipe.com> wrote:
>>> Good afternoon all!  I have been continuing to work with the
>>> networking in BB and have added a single script
>>> '/etc/network/if-up.d/000_resolv.conf' that does not seem to be called
>>> when 'ifup -a' is called during the boot process.  The script has a
>>> permission of 755 and ownership of root:root.  The contents are as
>>> follows:
>>>
>>> #!/bin/sh
>>> echo 'resolv.conf' > /tmp/debug.txt
>>> env >> /tmp/debug.txt
>>>
>>>
>>> Any thoughts on what is going on?
>>>
>>> Thanks,
>>> Dave
>>> _______________________________________________
>>> busybox mailing list
>>> busybox at busybox.net
>>> http://lists.busybox.net/mailman/listinfo/busybox
>>
>


More information about the busybox mailing list