[LEDE-DEV] Makefile question

Philip Prindeville philipp_subx at redfish-solutions.com
Sun Feb 12 19:23:16 PST 2017


> On Feb 11, 2017, at 8:29 PM, David Lang <david at lang.hm> wrote:
> 
> On Sat, 11 Feb 2017, Philip Prindeville wrote:
> 
>>> This can't eliminate the /etc/rc.d/S* files as it only adds files, and it's not as flexibile as adding a user or changing a password (as it would just let you replace the /etc/passwd, /etc/shadow files, not modify them).
>>> 
>>> If you look for where the /files/* are copied into the filesystem, that is probably the place you would want to add your scripting hooks.
>> 
>> Good idea.  I’ll look there.
> 
> Once you find this, may I suggest that you create /scripts/* and contribute the infrastructure to support it back upstream?
> 
> I have seen a lot of people wanting to do similar things.


Surprisingly, I’m still trying to find in the Makefiles where $(topdir)/files/ gets copied over…

-Philip




More information about the Lede-dev mailing list