I have an text file which is contains some ethernet configurations itself. I sent it to vendor/etc path via my make file, then I tried to copy vendor/etc/config.txt to data/misc/ethernet via init.rc but it has not copied. We may not be allowed to copy "world-writable" files in init.rc.
My bp file (I checked the out folder, it works),
prebuilt_etc {
name: "ipconfig-ivi-ui.txt",
src : "ipconfig-ivi-ui.txt",
vendor: true
}
I'm pretty sure I copied the text file after the respective folders were created.
Is there any way to do that ?