update banner colors.

pull/304/head
Paul Philippov 2022-08-01 10:40:26 -04:00
parent 9a8e0ff0b6
commit 6814073dde
2 changed files with 9 additions and 11 deletions

View File

@ -1,5 +1,3 @@
OpenIPC is asking for your help !
Please help the OpenIPC Project to cover the cost of development and
long-term maintenance of what we believe is going to become a stable,
flexible Open IP Network Camera Framework for users worldwide.

View File

@ -8,9 +8,9 @@ echo_c() { echo -ne "\e[1;$1m$2\e[0m"; }
if [ "$PS1" ]; then
[ -f /etc/os-release ] && . /etc/os-release
[ -f /etc/openipc_banner ] && echo_c 36 "$(cat /etc/openipc_banner)"
echo_c 32 "$(printf "%54s" "${GITHUB_VERSION}")"
[ -f /etc/openipc_donors ] && echo_c 36 "\n\n$(cat /etc/openipc_donors)\n\n"
[ -f /etc/openipc_banner ] && echo_c 34 "$(cat /etc/openipc_banner)"
echo_c 32 "$(printf "%56s" "${GITHUB_VERSION}")"
[ -f /etc/openipc_donors ] && echo_c 37 "\n\n$(cat /etc/openipc_donors)\n\n"
#
if [ "`id -u`" -eq 0 ]; then
export PS1='\u@\h:\w\# '