bash: Enable system-wide .bashrc file, source /etc/shinit 11993/head
authorJeffery To <jeffery.to@gmail.com>
Tue, 28 Apr 2020 20:31:03 +0000 (04:31 +0800)
committerJeffery To <jeffery.to@gmail.com>
Tue, 28 Apr 2020 20:38:24 +0000 (04:38 +0800)
commit1929baac6d247ea51b8fb7f8a33f46d137211eac
tree677714667765fda5a874b8a01db2768a09119212
parentdc5f2df6a4d2a1a0ca1a25f105609fd801035963
bash: Enable system-wide .bashrc file, source /etc/shinit

This enables a system-wide .bashrc file (/etc/bash.bashrc), as well as
some other options related to startup files, and sources /etc/shinit for
interactive shells.

Fixes https://bugs.openwrt.org/index.php?do=details&task_id=3019.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
utils/bash/Makefile
utils/bash/files/etc/bash.bashrc [new file with mode: 0644]
utils/bash/files/etc/profile.d/sys_bashrc.sh [new file with mode: 0644]
utils/bash/patches/901-startup-files.patch [new file with mode: 0644]