bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: add custom environment variable in bash source code


From: Sam
Subject: Re: add custom environment variable in bash source code
Date: Thu, 18 Aug 2022 01:21:07 +0100


> On 18 Aug 2022, at 00:19, b1431736437@163.com wrote:
> 
> Because I'm using Android, Android doesn't support #!/bin/sh and #!/bin/bash, 
> there is a dynamic library that fixes it, so I want to automatically add 
> LD_PRELOAD before starting bash to make this dynamic library work , I want to 
> modify the source code of bash to make it effective, not the bash.bashrc and 
> profile files in the etc directory,what should I do, can you send a video 
> attachment to teach me?
> 

You probably want to edit /etc/ld.so.conf or /etc/ld.so.conf.d/* instead.

Attachment: signature.asc
Description: Message signed with OpenPGP


reply via email to

[Prev in Thread] Current Thread [Next in Thread]