enable color prompt

This commit is contained in:
t3chn0m4g3 2016-02-03 15:10:19 +01:00
parent c7e5dece6a
commit 86c57328fc

View file

@ -3,7 +3,7 @@
# T-Pot post install script #
# Ubuntu server 14.04.3, x64 #
# #
# v16.03.3 by mo, DTAG, 2016-01-14 #
# v16.03.4 by mo, DTAG, 2016-02-03 #
########################################################
# Type of install, SENSOR or FULL?
@ -320,6 +320,10 @@ sed -i 's#FONTFACE=".*#FONTFACE="Terminus"#' /etc/default/console-setup
sed -i 's#FONTSIZE=".*#FONTSIZE="12x6"#' /etc/default/console-setup
update-initramfs -u
# Let's enable a color prompt
sed -i 's#\#force_color_prompt=yes#force_color_prompt=yes#' /home/tsec/.bashrc
sed -i 's#\#force_color_prompt=yes#force_color_prompt=yes#' /root/.bashrc
# Final steps
fuECHO "### Thanks for your patience. Now rebooting."
mv /root/tpot/etc/rc.local /etc/rc.local && rm -rf /root/tpot/ && chage -d 0 tsec && sleep 2 && reboot