mirror of
https://github.com/openwrt/packages.git
synced 2025-02-07 05:49:50 +00:00
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>
7 lines
132 B
Plaintext
7 lines
132 B
Plaintext
# System-wide .bashrc file
|
|
|
|
# Continue if running interactively
|
|
[[ $- == *i* ]] || return 0
|
|
|
|
[ \! -s /etc/shinit ] || . /etc/shinit
|