mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
--------- Co-authored-by: tiopex <tiopxyz@gmail.com> Co-authored-by: tiopex <67048640+tiopex@users.noreply.github.com>
21 lines
322 B
Bash
21 lines
322 B
Bash
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
|
|
|
|
if [ "$PS1" ]; then
|
|
if [ "`id -u`" -eq 0 ]; then
|
|
export PS1='# '
|
|
else
|
|
export PS1='$ '
|
|
fi
|
|
fi
|
|
|
|
export PAGER='/bin/more'
|
|
export EDITOR='/bin/vi'
|
|
|
|
# Source configuration files from /etc/profile.d
|
|
for i in /etc/profile.d/*.sh ; do
|
|
if [ -r "$i" ]; then
|
|
. $i
|
|
fi
|
|
done
|
|
unset i
|