Copy bashrc from root to abc

This commit is contained in:
Roxedus
2021-11-20 21:37:55 +01:00
parent 5215cc3bcb
commit 0509b51cf7

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