Skip to content

Commit 081b38e

Browse files
authored
Merge pull request #89 from linuxserver/bashrc
Copy bashrc from root to abc
2 parents 05fdef4 + 0509b51 commit 081b38e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

root/etc/cont-init.d/30-config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ if [ -n "${SUDO_PASSWORD}" ] || [ -n "${SUDO_PASSWORD_HASH}" ]; then
1717
fi
1818
fi
1919

20+
[[ ! -f /config/.bashrc ]] && \
21+
cp /root/.bashrc /config/.bashrc
22+
[[ ! -f /config/.profile ]] && \
23+
cp /root/.profile /config/.profile
24+
2025
# permissions
2126
chown -R abc:abc \
2227
/config

0 commit comments

Comments
 (0)