[LEDE-DEV] [procd] Using "procd_set_param file" on a directory

Baptiste Jonglez baptiste at bitsofnetworks.org
Mon Jan 9 07:58:23 PST 2017


On Mon, Jan 09, 2017 at 04:36:25PM +0100, Felix Fietkau wrote:
> It does not support passing a directory. You should do:
> procd_set_param file /tmp/babeld.d/*.conf (without quotes)

I wanted to avoid this solution if possible, because it does not handle
file creation.  However, that is not a major issue in my case, so I will
use this solution.  Thanks!

On Mon, Jan 09, 2017 at 04:36:49PM +0100, Jo-Philipp Wich wrote:
> unfortunately it can't atm. Internally it calculates hashes over the
> contents of the given files and it has no handling for directory listing
> at all.
> 
> You could consider creating a dummy configuration only containing a
> commented-out directory listing and register that with procd - would
> that work in your case?

This seems quite complicated, the shell globbing approach looks much
simpler.

Thanks for your answers,
Baptiste
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/lede-dev/attachments/20170109/a9243bfe/attachment.sig>


More information about the Lede-dev mailing list