BLOB MODE

This commit is contained in:
fred 2022-11-17 13:29:54 +01:00
parent f970325ed1
commit 6d40f20cc5
1 changed files with 16 additions and 19 deletions

View File

@ -16,7 +16,7 @@ start=`date +%s`
#### GIT CLONE ############################################################### #### GIT CLONE ###############################################################
[[ ! $(which git) ]] && sudo apt install -y git [[ ! $(which git) ]] && sudo apt install -y git
echo "=== Clonage git CODE 'Astroport.ONE' depuis https://git.p2p.legal" echo "=== CLONAGE '~/.zen/Astroport.ONE' depuis https://git.p2p.legal"
mkdir -p ~/.zen mkdir -p ~/.zen
cd ~/.zen cd ~/.zen
git clone --depth 1 https://git.p2p.legal/qo-op/Astroport.ONE.git git clone --depth 1 https://git.p2p.legal/qo-op/Astroport.ONE.git
@ -28,11 +28,13 @@ then
# Check requirements # Check requirements
echo "Astroport.ONE installateur pour distributions DEBIAN et dérivées : LinuxMint (https://www.linuxmint.com/) testées" echo "Installateur Astroport.ONE pour distributions DEBIAN et dérivées : LinuxMint (https://www.linuxmint.com/)"
echo "$USER appuyez sur ENTRER pour commencer installation"; read TEST; [[ "$TEST" != "" ]] && echo "SORTIE" && exit 0 ## Ajouter confirmation à chaque nouvelle étape (+explications) echo "$USER appuyez sur ENTRER."; read TEST; [[ "$TEST" != "" ]] && echo "SORTIE" && exit 0 ## Ajouter confirmation à chaque nouvelle étape (+explications)
echo "#############################################"
echo "######### PATIENCE "
echo "#############################################" echo "#############################################"
echo "###### IPFS BIOS INSTALL ##############################"
echo "################ CRYPTO TW Ŋ1 PROTOCOL #############"
echo "##################################################"
echo ; echo "Mise à jour des dépots de votre distribution..." echo ; echo "Mise à jour des dépots de votre distribution..."
sudo apt-get update sudo apt-get update
@ -141,11 +143,11 @@ echo "######### PATIENCE #########################"
echo "#############################################" echo "#############################################"
## Scripts pour systemd ou InitV (xbian) ## Scripts pour systemd ou InitV (xbian)
echo "=== Astroport UPGRADE SYSTEM IPFS" echo "=== SETUP IPFS SYSTEM"
~/.zen/Astroport.ONE/tools/ipfs_setup.sh ~/.zen/Astroport.ONE/tools/ipfs_setup.sh
#### SETUP JAKLIS ############################################################### #### SETUP JAKLIS ###############################################################
echo "=== Configuration jaklis: Centre de communication CESIUM+ GCHANGE+" echo "=== SETUP jaklis"
cd $MY_PATH/tools/jaklis cd $MY_PATH/tools/jaklis
sudo ./setup.sh sudo ./setup.sh
@ -215,18 +217,17 @@ echo "$USER ALL=(ALL) NOPASSWD:/bin/systemctl" | (sudo su -c 'EDITOR="tee" visud
## brother_ql_print ## brother_ql_print
echo "$USER ALL=(ALL) NOPASSWD:/usr/local/bin/brother_ql_print" | (sudo su -c 'EDITOR="tee" visudo -f /etc/sudoers.d/brother_ql_print') echo "$USER ALL=(ALL) NOPASSWD:/usr/local/bin/brother_ql_print" | (sudo su -c 'EDITOR="tee" visudo -f /etc/sudoers.d/brother_ql_print')
echo "#############################################"
# ADD DESKTOP SHORTCUT echo "# ADDING <<<Astroport>>> DESKTOP SHORTCUT"
[[ "$USER" != "xbian" && -d ~/Bureau ]] && sed "s/_USER_/$USER/g" ~/.zen/Astroport.ONE/astroport.desktop > ~/Bureau/astroport.desktop && chmod +x ~/Bureau/astroport.desktop [[ -d ~/Bureau ]] && sed "s/_USER_/$USER/g" ~/.zen/Astroport.ONE/astroport.desktop > ~/Bureau/astroport.desktop && chmod +x ~/Bureau/astroport.desktop
[[ "$USER" != "xbian" && -d ~/Desktop ]] && sed "s/_USER_/$USER/g" ~/.zen/Astroport.ONE/astroport.desktop > ~/Desktop/astroport.desktop && chmod +x ~/Desktop/astroport.desktop [[ -d ~/Desktop ]] && sed "s/_USER_/$USER/g" ~/.zen/Astroport.ONE/astroport.desktop > ~/Desktop/astroport.desktop && chmod +x ~/Desktop/astroport.desktop
mkdir -p ~/.zen/tmp mkdir -p ~/.zen/tmp
# MAIN # -f ~/.zen/secret.june (ISOConfig déjà lancé) ## echo "#############################################"
## SYMLINK youtube-dl TO yt-dlp ## SYMLINK youtube-dl TO yt-dlp
sudo ln -s /usr/local/bin/yt-dlp /usr/local/bin/youtube-dl sudo ln -s /usr/local/bin/yt-dlp /usr/local/bin/youtube-dl
which youtube-dl
echo "#############################################"
echo "#############################################" echo "#############################################"
echo "#############################################" echo "#############################################"
## Desktop install ## Desktop install
@ -234,12 +235,8 @@ echo "#############################################"
end=`date +%s` end=`date +%s`
echo Execution time was `expr $end - $start` seconds. echo Execution time was `expr $end - $start` seconds.
echo "#############################################" echo "#############################################"
echo "# START ENGINE : ~/.zen/Astroport.ONE/start.sh" echo "# START VISA ENGINE : ~/.zen/Astroport.ONE/start.sh"
echo "#############################################" echo "#############################################"
echo "## BLOB MODE -#################################"
echo "# Utilisez le lien <<< Astroport >>> sur votre Bureau"
echo "#############################################"
echo echo
echo "Démarrer en mode Aventure. Tapez ENTRER." echo "Démarrer en mode Aventure. Tapez ENTRER."
read ADVENTURE read ADVENTURE