AW: [PATCH] ash: Load $ENV file also if $SSH_CLIENT/SSH2_CLIENT is preset in env, reformat

Björn Bidar bjorn.bidar at jolla.com
Mon Nov 2 13:39:04 UTC 2020


Hey,

>Would you mind to drop a few words what bash does in such cases ?
It does exactly what ash does with but it load bashrc instead of $ENV like in 
the patch.
See man bash: "Bash  attempts  to determine when it is being run with its 
standard input connected to a network connection, as when executed by the 
remote shell daemon, usually rshd, or the secure shell daemon sshd.  If bash 
determines it is being run in this fashion, it reads and executes commands 
from ~/.bashrc, if  that  file exists and is readable."

So this just extends existing functionality.


Br,

Björn  Bidar


More information about the busybox mailing list