mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-06-05 22:19:21 +02: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:
@ -3,3 +3,10 @@ export TERM=xterm-xfree86
|
|||||||
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] '
|
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w \$\[\033[00m\] '
|
||||||
|
|
||||||
export NODE_PATH=/usr/lib/node_modules
|
export NODE_PATH=/usr/lib/node_modules
|
||||||
|
|
||||||
|
alias ll='ls -l'
|
||||||
|
|
||||||
|
######################################################################
|
||||||
|
# Initialize MycroftOS CLI Environment
|
||||||
|
######################################################################
|
||||||
|
source cli_login.sh
|
||||||
|
17
buildroot-external/rootfs-overlay/home/mycroft/cli_login.sh
Normal file
17
buildroot-external/rootfs-overlay/home/mycroft/cli_login.sh
Normal 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
|
Reference in New Issue
Block a user