coolacid / Buildroot-sdr

Buildroot modules used for SDR and ADSB
1 stars 0 forks source link

Pull config from $x #9

Closed coolacid closed 4 years ago

coolacid commented 6 years ago

We use udhcpc for getting IP information. We can place scripts in /usr/share/udhcpc/default.script.d to configure things after we get an IP address, but before services are started.

This project should implement some way of using UDHCPC variables and downloading the configs and applying those configs.

Note the following ENV variables that will help:

    tftp        - The TFTP server name

We can probably pull via HTTP against the TFTP IP, (or even TFTP?) and apply the configs over top of /etc?

https://udhcp.busybox.net/README.udhcpc

coolacid commented 4 years ago

Solved by https://github.com/coolacid/Buildroot-overlay