burrow-pi-img/stage2/06-rudefox-motd/01-run.sh
2020-09-01 19:37:08 +02:00

9 lines
305 B
Bash
Executable File

#!/bin/bash -e
rm -rf "${ROOTFS_DIR}/etc/motd"
rm -rf "${ROOTFS_DIR}/etc/update-motd.d/"*
install -m 755 files/* "${ROOTFS_DIR}/etc/update-motd.d/"
echo "" >> "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.bashrc"
echo "PS1=\"\[\e[31m\]Burrow>\[\e[m\] \"" >> "${ROOTFS_DIR}/home/${FIRST_USER_NAME}/.bashrc"