mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-04-28 19:28:50 +00:00
enable color prompt
This commit is contained in:
parent
c7e5dece6a
commit
86c57328fc
1 changed files with 5 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
# T-Pot post install script #
|
# T-Pot post install script #
|
||||||
# Ubuntu server 14.04.3, x64 #
|
# 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?
|
# 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
|
sed -i 's#FONTSIZE=".*#FONTSIZE="12x6"#' /etc/default/console-setup
|
||||||
update-initramfs -u
|
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
|
# Final steps
|
||||||
fuECHO "### Thanks for your patience. Now rebooting."
|
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
|
mv /root/tpot/etc/rc.local /etc/rc.local && rm -rf /root/tpot/ && chage -d 0 tsec && sleep 2 && reboot
|
||||||
|
|
Loading…
Reference in a new issue