1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-03-25 16:00:27 +01:00

MycroftOS: Start mycroft-cli-client automatically when loging in

- Plus a bit of nice to have MOTD from PiCroft
This commit is contained in:
Peter Steenbergen 2019-11-05 13:59:27 +01:00
parent 4b12d08faa
commit 918e873de4
2 changed files with 24 additions and 0 deletions

View File

@ -3,3 +3,10 @@ export TERM=xterm-xfree86
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] '
export NODE_PATH=/usr/lib/node_modules
alias ll='ls -l'
######################################################################
# Initialize MycroftOS CLI Environment
######################################################################
source cli_login.sh

View File

@ -0,0 +1,17 @@
#!/bin/bash
echo -e "\e[36m"
echo " ███╗ ███╗██╗ ██╗ ██████╗██████╗ ██████╗ ███████╗████████╗"
echo " ████╗ ████║╚██╗ ██╔╝██╔════╝██╔══██╗██╔═══██╗██╔════╝╚══██╔══╝"
echo " ██╔████╔██║ ╚████╔╝ ██║ ██████╔╝██║ ██║█████╗ ██║ "
echo " ██║╚██╔╝██║ ╚██╔╝ ██║ ██╔══██╗██║ ██║██╔══╝ ██║ "
echo " ██║ ╚═╝ ██║ ██║ ╚██████╗██║ ██║╚██████╔╝██║ ██║ "
echo " ╚═╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝ "
echo -e "\e[0m"
echo
echo "***************************************************************"
echo "** **"
echo "** MycroftOS Version 0.1.0 **"
echo "** **"
echo "***************************************************************"
sleep 2 # give user a few moments to notice the version
mycroft-cli-client