[PATCH] ash: allow a profile script to be embedded in the binary
Denys Vlasenko
vda.linux at googlemail.com
Sat Nov 3 17:06:30 UTC 2018
On Sat, Nov 3, 2018 at 11:56 AM Ron Yorston <rmy at pobox.com> wrote:
> If the file embed/.profile exists at build time it is placed at the
> start of the block of compressed scripts. Its name isn't included
> in the list of scripts so it can't be run directly by the user.
> Instead it is executed when a login shell is started, after /etc/profile
> but before ~/.profile.
As I see it, the purpose of EMBEDDED_SCRIPTS is to have some applets
written in shell: sometimes that cat be smaller than C code.
What is the purpose of embedded profile script?
More information about the busybox
mailing list