mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04: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>
2 lines
92 B
Bash
2 lines
92 B
Bash
[ -z "$BASH" ] || [ "$BASH" = /bin/sh ] || [ \! -s /etc/bash.bashrc ] || . /etc/bash.bashrc
|