Merge pull request #304 from OpenIPC/banner

update banner colors.
pull/306/head
Igor Zalatov 2022-08-01 17:53:19 +03:00 committed by GitHub
commit 2de796138c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 12 deletions

View File

@ -8,5 +8,5 @@
| ######/ | #######/ | ####### | ## | ## /###### | ## | ######/
\______/ | ##____/ \_______/ |__/ |__/ |______/ |__/ \______/
| ##
| ##
| ## build
|__/

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\# '