Changing Inittab

Alberto Bursi bobafetthotmail at gmail.com
Fri Aug 14 08:50:05 EDT 2020



On 14/08/20 14:46, Shalla Thakur wrote:
> On 14/08/20 6:08 pm, Alberto Bursi wrote:
>>
>>
>> On 14/08/20 05:54, Shalla Thakur wrote:
>>> Hi,
>>>
>>> I am trying to change inittab to launch a different binary than 
>>> /usr/libexec/login.sh. I changed package/base-files/files/etc/inittab 
>>> for that. But it seems during build these changes get overridden. 
>>> What is the correct way to achieve this?
>>>
>>> Thanks
>>
>> You can override that by creating a "files" folder in the main build 
>> folder, all files in that will overwrite files in the rootfs.
>> If you want to overwrite the inittab you can create your own inittab 
>> file in
>> <buildroot dir>/files/etc/inittab
> 
> You mean the base directory where package, feeds, and other directories 
> reside or build_dir in the base directory?
> 

Sorry, I meant the base directory.

-Alberto



More information about the openwrt-devel mailing list