mirror of https://github.com/OpenIPC/firmware.git
update banner colors.
parent
9a8e0ff0b6
commit
6814073dde
|
@ -1,10 +1,8 @@
|
|||
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.
|
||||
|
||||
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.
|
||||
Your contributions could help us to advance the development and keep
|
||||
you updated on improvements and new features more regularly.
|
||||
|
||||
Your contributions could help us to advance the development and keep
|
||||
you updated on improvements and new features more regularly.
|
||||
|
||||
Please visit https://openipc.org/sponsor/ to learn more. Thank you.
|
||||
Please visit https://openipc.org/sponsor/ to learn more. Thank you.
|
||||
|
|
|
@ -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\# '
|
||||
|
|
Loading…
Reference in New Issue