Modify etc folder

3 posts / 0 new
Last post
mrdon213
Modify etc folder

Hello all,

 

I need to add a directory and file to the etc directory. This directory is write protected and chmod will not change the permissions. Unfortunatly the program looks for the file in this location only. Is there any easy way to do this short of rebuilding the firmware.

 

Thank you

Don

Striatum
I think the only way is to

I think the only way is to use

nvram setfile2nvram

/etc/directory is in fact in nvram, that's why it can be written with classic tools. But I don't know if directory can be created this way.

mrdon213
Thank you striatum

Thank you striatum

I knew they were nvram just hoping for a easy way to add the file.
I ended up downloading the dd-wrt firmware mod kit and recompiled with the changes.

Don