We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9069b8f commit abd86b1Copy full SHA for abd86b1
1 file changed
board/common/rootfs/etc/profile
@@ -0,0 +1,27 @@
1
+export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
2
+
3
+if [ "$PS1" ]; then
4
+ if [ "${BASH-}" ] && [ "$BASH" != "/bin/sh" ]; then
5
+ if [ -f /etc/bash.bashrc ]; then
6
+ . /etc/bash.bashrc
7
+ fi
8
+ else
9
+ if [ "`id -u`" -eq 0 ]; then
10
+ export PS1='# '
11
12
+ export PS1='$ '
13
14
15
16
+ export COLORTERM=truecolor
17
+fi
18
19
+export EDITOR='/bin/vi'
20
21
+# Source configuration files from /etc/profile.d
22
+for i in /etc/profile.d/*.sh ; do
23
+ if [ -r "$i" ]; then
24
+ . $i
25
26
+done
27
+unset i
0 commit comments