Changing Inittab

Shalla Thakur shallathakur86 at gmail.com
Fri Aug 14 12:49:19 EDT 2020


On 14/08/20 6:20 pm, Alberto Bursi wrote:
> 
> 
> 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

Thanks Alberto!

-- 
Regards
Shalla



More information about the openwrt-devel mailing list