Merge pull request #89 from linuxserver/bashrc

Copy bashrc from root to abc
This commit is contained in:
Roxedus 2021-11-23 07:36:09 +00:00 committed by GitHub
commit 081b38ed70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,6 +17,11 @@ if [ -n "${SUDO_PASSWORD}" ] || [ -n "${SUDO_PASSWORD_HASH}" ]; then
fi
fi
[[ ! -f /config/.bashrc ]] && \
cp /root/.bashrc /config/.bashrc
[[ ! -f /config/.profile ]] && \
cp /root/.profile /config/.profile
# permissions
chown -R abc:abc \
/config